avformat/mxfdec: dont ask for samples with field dominance 0 anymore

Based on discussion and patch from
"[FFmpeg-devel] [PATCH]Do not ask for mxf samples with unknown field dominance"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-26 02:07:57 +01:00
parent 4acefd2521
commit 2ad38c6e02
1 changed files with 1 additions and 0 deletions

View File

@ -1771,6 +1771,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
avpriv_request_sample(mxf->fc,
"Field dominance %d support",
descriptor->field_dominance);
case 0: // we already have many samples with field_dominance == unknown
break;
}
/* Turn field height into frame height. */