Misordered commandline options no longer work
Misordered commandline options are not working since 20061104 for branch and since 20061108 for trunk.
Example: vlc.exe C:\test.mpg --extraintf logger -vvv :sout= #transcode{vcodec=DIV3,vb=512,acodec=mp3,ab=64,channels=2}:standard{access=mmsh, mux=asfh,dst=:1234}
[00000299] main private debug: looking for sout mux module: 1 candidate
[00000299] mux_asf private debug: asf muxer opened
[00000299] mux_asf private debug: creating asf stream to be used with mmsh
[00000299] mux_asf private debug: Packet size 4096
[00000299] mux_asf private debug: meta data: title='', author='', copyright='',
comment='', rating=''
[00000299] main private debug: using sout mux module "mux_asf"
[00000289] main stream output debug: muxer support adding stream at any time
[00000289] main stream output debug: muxer prefers to wait for all ES before sta
rting to mux
[00000293] stream_out_standard private debug: mux opened
[00000293] main private debug: using sout stream module "stream_out_standard"
[00000290] main private debug: set sout option: sout-transcode-vcodec to DIV3
[00000290] main private debug: set sout option: sout-transcode-vb to 512
[00000290] main private debug: set sout option: sout-transcode-acodec to mp3
[00000290] main private debug: set sout option: sout-transcode-ab to 64
[00000290] main private debug: set sout option: sout-transcode-channels to 2
[00000290] stream_out_transcode private debug: codec audio=mp3 0Hz 2 channels 6
4Kb/s
[00000290] stream_out_transcode private debug: codec video=DIV3 0x0 scaling: 1.0
00000 512kb/s
[00000290] main private debug: using sout stream module "stream_out_transcode"
[00000288] main input debug: `-vvv' gives access `' demux `' path `-vvv'
[00000288] main input debug: creating demux: access='' demux='' path='-vvv'
[00000301] main demuxer debug: looking for access_demux module: 1 candidate
libdvdnav: Using dvdnav version 0.2.0cvs from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Can't stat -vvv
libdvdnav: vm: failed to open/read the DVD
[00000301] dvdnav demuxer warning: cannot open dvdnav
[00000288] main input debug: creating access '' path='-vvv'
[00000303] main access debug: looking for access2 module: 4 candidates
[00000303] vcd access debug: trying .cue file: -vvv.cue
[00000303] access_file access warning: -vvv: No such file or directory
[00000303] cdda access debug: trying .cue file: -vvv.cue
[00000303] cdda access warning: could not open -vvv
[00000288] main input error: no suitable access module for `-vvv'
[00000290] main private debug: destroying chain... (name=transcode)
[00000293] main private debug: destroying chain... (name=standard)
[00000299] mux_asf private debug: Asf muxer closed
[00000295] access_output_http private warning: HTTP sout access cannot seek
[00000299] main private debug: removing module "mux_asf"
[00000298] main http server debug: thread times: real 0m0.203125s, kernel 0m0.00
0000s, user 0m0.000000s
[00000298] main http server debug: thread 3948 joined (network/httpd.c:1134)
[00000298] main http server debug: HTTP host removed
[00000297] main http server debug: no host left, stopping httpd
[00000295] access_output_http private debug: Close
[00000295] main private debug: removing module "access_output_http"
[00000293] main private debug: removing module "stream_out_standard"
[00000293] main private debug: destroying chain done
[00000290] main private debug: removing module "stream_out_transcode"
[00000290] main private debug: destroying chain done
[00000288] main input debug: thread times: real 0m0.343750s, kernel 0m0.062500s,
user 0m0.015625s
[00000288] main input debug: thread 3808 joined (input/input.c:412)
[00000288] main input warning: refcount is 1, delaying before deletion (id=288,t
ype=-7)
[00000278] main playlist: nothing to play
Adding the part --no-stats after -vvv:
[00000287] main input debug: creating access '' path='--no-stats'
[00000302] main access debug: looking for access2 module: 4 candidates
[00000302] vcd access debug: trying .cue file: --no-stats.cue
[00000302] access_file access warning: --no-stats: No such file or directory
[00000302] cdda access debug: trying .cue file: --no-stats.cue
[00000302] cdda access warning: could not open --no-stats
[00000287] main input error: no suitable access module for `--no-stats'
Removing the options makes it work. Problem traces back to the following commits:
[17437] (branch) and [17541] (trunk) - Extend support for non-ANSI filenames on Win32.
Edited by Marian Ďurkovič