[MPlayer-dev-eng] [PATCH] MMS/ASF minor changes (ASF header file / 2)

Francesco Cosoleto cosoleto at gmail.com
Sat Mar 28 20:49:41 CET 2009


Ping? Attached patch fixes only a single incorrect aspect of 
libmpdemux/asf.h and updates related files.

See ASF spec. (sect. 3.3, pag. 10): "Specifies the number of this 
stream. 0 is an invalid stream. Valid values are between 1 and 127".

Test:

mplayer -v -v mmsh://media02.webpartner.dk/voicetv

Current version output:

   max bitrate=[0x17dc5][97733]
[...]
   max bitrate=[0x7bccd][507085]
[...]
Pragma: stream-switch-entry=ffff:8001:0 ffff:8002:0
[...]
type: 28 bytes,  stream: 8 bytes  ID: 32769
[...]
type: 55 bytes,  stream: 0 bytes  ID: 32770

Patched version:

   max bitrate=[0x17dc5][97733]
   is audio stream
[...]
   max bitrate=[0x7bccd][507085]
   is video stream
[...]
Pragma: stream-switch-entry=ffff:1:0 ffff:2:0
[...]
type: 28 bytes,  stream: 8 bytes  ID: 1
[...]
type: 55 bytes,  stream: 0 bytes  ID: 2

-- 
Francesco Cosoleto | http://cosoleto.free.fr

History is a gallery of pictures in which there are few originals and 
many copies. (Alexis de Tocqueville)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stream_no.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090328/5b22bf30/attachment.asc>


More information about the MPlayer-dev-eng mailing list