[FFmpeg-devel] [PATCH] VDPAU: Fix H.264 streams with long reference frames
Tue Apr 13 08:48:07 CEST 2010
Le 29 mars 10 ? 23:22, Stephen Warren a ?crit :
> Attached is a patch that fixes the ffmpeg/VDPAU for H.264 streams
> with long
> reference frames. The issue is that h->long_ref may be sparse, so
> one needs
> to scan the entire array rather than just the first h-
> >long_ref_count entries.
> Most (all?) code in the reset of ffmpeg always scans all 16 entries.
> The VAAPI code in vaapi_h264.c:fill_vaapi_ReferenceFrames() probably
> the same fix. However, I don't have VAAPI-capable HW to test.
Thanks. Verified this fixes MR2_MW_A / MR2_TANDBERG_E clips on Intel
Ironlake and NVIDIA HW too. ;-)
More information about the ffmpeg-devel