[MPlayer-dev-eng] [PATCH] demux_real.c : make the mess even bigger

Balatoni Denes pnis at coder.hu
Wed Feb 5 23:54:42 CET 2003


Hi!

Here is a small fix for demux_real . Of the two stream.dumps I uploaded
to mplayerhq, one can be played (with correct sync too). The other can't
perhaps it's a bug in the pnm:// streaming code and not demux_real.

The first problem was that there can be more headers than num_of_headers
says. The second problem was with sync - the rm timestamp seems to be ok,
so I don't know what that trick is for with sh_video->frametime (it made video
too fast).

btw who managed to (and how) rev.engeneer (?) this black magic in
the rm fileformat ?? 

btw2 there is a hack in demux_real, because without that sound took
a long time to catch up with the video. This solves it because until the first
keyframe arrives, the video is still - and by that time audio will be in sync 
with video. Or maybe not - could some one tell me what is the real reason 
than?:)

btw3 xine's demuxer was about the same as mplayer's, their only changes
were about these two I did too now

bye
Denes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_real.diff
Type: text/x-diff
Size: 3320 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030205/0b553674/attachment.diff>


More information about the MPlayer-dev-eng mailing list