From: Alexandre Colucci <[email protected]> The attached patch fixes the jerky playback of VC-1 content with pulldown. The pulldown flags were incorrectly set. They must be correct in order to display the frames with the correct timing as mentioned in the specifications: "SMPTE 421M: VC-1 Compressed Video Bitstream Format and Decoding Process". More precisely the following tables:
Table 20: Progressive P picture layer bitstream for Advanced Profile Table 22: Progressive B picture layer bitstream for Advanced Profile Table 23: Progressive Skipped picture layer bitstream for Advanced Profile Table 82: Interlaced Frame I and BI picture layer bitstream for Advanced Profile Table 83: Interlaced Frame P picture layer bitstream for Advanced Profile Table 84: Interlaced Frame B picture layer bitstream for Advanced Profile Table 85: Picture Layer bitstream for Field 1 of Interlace Field Picture for Advanced Profile Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Anton Khirnov <[email protected]> --- libavcodec/vc1.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 7b878c1..71acb23 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -830,7 +830,7 @@ int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb) v->rptfrm = get_bits(gb, 2); } else { v->tff = get_bits1(gb); - v->rptfrm = get_bits1(gb); + v->rff = get_bits1(gb); } } if(v->panscanflag) { -- 1.7.5.3 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
