mxfdec: Set AV_FIELD_PROGRESSIVE, needed for AVC-intra
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 3 Jan 2013 20:42:35 +0000 (21:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Jan 2013 20:44:33 +0000 (21:44 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfdec.c

index e45d99f..ce97836 100644 (file)
@@ -1524,6 +1524,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
                     av_log(mxf->fc, AV_LOG_INFO, "SegmentedFrame layout isn't currently supported\n");
                     break;
                 case FullFrame:
+                    st->codec->field_order = AV_FIELD_PROGRESSIVE;
                     break;
                 case OneField:
                     /* Every other line is stored and needs to be duplicated. */