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

Philip Langdale philipl at overt.org
Sun Mar 20 23:33:20 CET 2011


 Are there any other outstanding issues here? FWIW, this doesn't break
 with libav.org - you just get the crystalhd libraries linked and 
 unused.

 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-v3.diff
Type: text/x-diff
Size: 7847 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110320/5f245eee/attachment.diff>


More information about the MPlayer-dev-eng mailing list