[FFmpeg-devel] MXF : default fied dominance is TFF

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Sep 8 12:15:16 CEST 2014


Gaullier Nicolas <nicolas.gaullier <at> arkena.com> writes:

>      case 0x3212:
>          descriptor->field_dominance = avio_r8(pb);
> +        descriptor->field_dominance_present = 1;

Is it possible to instead initialize 
descriptor->field_dominance to MXF_TFF?

>                  case SeparateFields:
> +                    if (!descriptor->field_dominance_present)
> +                        descriptor->field_dominance = MXF_TFF;
>                      switch (descriptor->field_dominance) {
>                      case MXF_TFF:
>                          st->codec->field_order = AV_FIELD_TT;

Doesn't this allow to remove the default case below?

Carl Eugen



More information about the ffmpeg-devel mailing list