[MPlayer-dev-eng] [PATCH] Activate FFmpeg's CrystalHD support v5
Philip Langdale
philipl at overt.org
Tue Mar 22 21:52:05 CET 2011
This one really really really should work.
- Added the missing configure line to remove the decoders if disabled.
Original Description:
The CrystalHD support went in to FFmpeg yesterday and iive did a quick
patch up to avoid breaking mplayer, but here is the full patch that
makes
it usable.
As the decoder returns normal frames, there's no code change required
in
mplayer (well almost no code change) but codecs.conf has to be updated
to add the relevant entries.
The diff also clobbers 'configure' to my version - which I claim is
preferable
as the crystalhd sections are ordered with the codec libraries, as
opposed
to VOs.
The last part is the small code change. i recommend bumping the size of
the
buffered_pts array to 32 from 24. In theory, an interlaced h.264 clip
with
1-frame-per-packet could legitimately queue up 32 packets before
anything
can be returned. (16 b-frames)
Thanks,
--phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-crystalhd-v5.diff
Type: text/x-diff
Size: 7934 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110322/10d8f2a3/attachment.diff>
More information about the MPlayer-dev-eng
mailing list