[MPlayer-dev-eng] Re: [BUG] commandline parser ... or not ????

Alban Bedel albeu at free.fr
Thu Jun 26 13:06:52 CEST 2003


Hi Arpi,

on Sat, 14 Jun 2003 00:55:41 +0200 you wrote:

> =======================================================================
> === get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
> *** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
> *** If it still does not work, read DOCS/en/codecs.html!
> Cannot find codec matching selected -vo and video format 0x32315640.
> =======================================================================
> ===
> 
> DEMUXER: freeing demuxer at 0x84b5020  
> DEMUXER: freeing sh_video at 0x84b3bb0  
> vo: uninit ...
> 
> Exiting... (End of file)
> -----------------------
> 
> that value 0x32315640 should be 0x32315659 ...
> the LSB gets overwritten somewhere in the parser.
> 
> this is not a new bug, i remember such bugreport (maybe even patch) on
> this list some months ago.
Look strange :

Starting program: /home/alban/cvs/MP/main/./mplayer -rawvideo
on:w=320:h=240:yv12:fps=5:size=115200 stream.yuv
[New Thread 1024 (LWP 3696)]
[Switching to Thread 1024 (LWP 3696)]

Breakpoint 5, main (argc=4, argv=0xbffff904) at mplayer.c:720
720	int file_format=DEMUXER_TYPE_UNKNOWN;
(gdb) n
725	int eof=0;
(gdb) print demux_rawvideo_opts[13]
$26 = {name = 0x82e86fc "yv12", p = 0x836bef8, type = 0x83477a0, flags = 0,
  min = 0, max = 842094144, priv = 0x0}
(gdb) printf "0x%x\n", demux_rawvideo_opts[13].max
0x32315640
(gdb) 

So at startup the option say to set to 0x32315640 ??? The source is

  { "yv12", &format, CONF_TYPE_FLAG, 0, 0 , IMGFMT_YV12, NULL },

and yes IMGFMT_YV12 should be 0x32315659. What's the hell ?????

At first i did not really belive it. So i did various other traces
and all lead to the same result: The max field if the option is
alredy 0x32315640 when the option start to enter the config stuff.

	Albeu
-- 

Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.




More information about the MPlayer-dev-eng mailing list