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

Diego Biurrun diego at biurrun.de
Sun Mar 13 18:44:31 CET 2011


On Sat, Mar 12, 2011 at 08:43:34PM -0800, Philip Langdale wrote:
> 
> > 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)

Patch looks OK.  Just one question...

> --- a/libmpdemux/stheader.h
> +++ b/libmpdemux/stheader.h
> @@ -97,7 +97,7 @@ typedef struct sh_video {
>    double last_pts;
> -  double buffered_pts[20];
> +  double buffered_pts[64];

Above you say 32, now it's 64?

Diego


More information about the MPlayer-dev-eng mailing list