[MPlayer-dev-eng] [PATCH] Activate FFmpeg's CrystalHD support v4

Philip Langdale philipl at overt.org
Mon Mar 21 18:22:51 CET 2011


 Hi,

 Fourth time's a charm?

 Made the fix requested by Reimar.

 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-v4.diff
Type: text/x-diff
Size: 7849 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110321/c0d09479/attachment.diff>


More information about the MPlayer-dev-eng mailing list