[FFmpeg-devel] [PATCH] Fixed mpeg12 top field first flag value

Laurent Aimar fenrir
Thu Aug 19 20:47:36 CEST 2010


 The attached patch fixed the value of AVFrame::top_field_first for mpeg12
video using field pictures.

 The relevent extract of the iso 13818-2 about the value of the syntaxical
element top_field_first of the Picture Coding Extension is:

"top_field_first -- The meaning of this element depends upon picture_structure,
progressive_sequence and repeat_first_field.
In a field picture top_field_first shall have the value '0', and the only field
output by the decoding process is the decoded field picture."


More information about the ffmpeg-devel mailing list