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

Philip Langdale philipl at overt.org
Fri Mar 11 21:36:02 CET 2011


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


More information about the MPlayer-dev-eng mailing list