[MPlayer-dev-eng] [PATCH] cleanup/uniformize real video packetizing
Aurelien Jacobs
aurel at gnuage.org
Sun Sep 14 18:50:50 CEST 2008
Hi,
I've had a look at the way real video frames are passed around inside
MPlayer. A specific packetizing was created with a header defined by
struct dp_hdr_s (vd_realvid.c). This packetizing is only used to
communicate between demux_real.c and vd_realvid.c.
On the other hand, ffmpeg real video decoder uses a much simpler
and logical packetizing format, which is also the same as the one
used in matroska files.
The attached patch modify the packetizing format used by vd_realvid.c
and demux_real.c to uniformize it with ffmpeg/matroska. This allows
cleaning up vd_ffmpeg.c and demux_mkv.c, and this also allows some
code factorization. This also allows using lavf demuxer along with
binary real video codecs.
Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: real_hdr.diff
Type: text/x-diff
Size: 13211 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080914/24137b80/attachment.diff>
More information about the MPlayer-dev-eng
mailing list