[MPlayer-dev-eng] [PATCH] fix realaudio in mkv
Roberto Togni
r_togni at tiscali.it
Fri Mar 24 00:46:07 CET 2006
Hi all,
this patch adds audio packet descrambling to mkv demuxer and changes
extradata to conform to the new ad_realaudio decoder interface. The
same extradata format and packet order is also used by lavc real
decoders.
There is one problem created by this patch: in the old version the
codec filled sh->i_bps (nAvgBytesPerSec) based on the flavor value,
while now the codecs don't do it anymore (and that would not be possible
anyway with the lavc codecs). In real demuxer i solved the problem by
taking i_bps from the MDPR header, is there some field in matroska that
can be used to fill that value? Else the only option is to create a
table with bitrates like it's done for sipr codec (sipr is the only
codec where flavor or bitrate is used to select the codec subtype).
Only cook is tested (samples/Matroska/realaudio/nosound.mkv).
Mosu, can you comment on this?
Ciao,
Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_mkv.c.diff
Type: text/x-patch
Size: 8779 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060324/d7108812/attachment.bin>
More information about the MPlayer-dev-eng
mailing list