| @@ -1685,7 +1685,7 @@ static const MXFCodecUL mxf_sound_essence_container_uls[] = { · 1684 unmodified lines |
| 1685 | | 1685 | |
| 1686 | static const MXFCodecUL mxf_data_essence_container_uls[] = { | 1686 | static const MXFCodecUL mxf_data_essence_container_uls[] = { |
| 1687 | { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0d,0x00,0x00 }, 16, AV_CODEC_ID_NONE, "vbi_smpte_436M", 11 }, | 1687 | { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0d,0x00,0x00 }, 16, AV_CODEC_ID_NONE, "vbi_smpte_436M", 11 }, |
| 1688 | { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0e,0x00,0x00 }, 16, AV_CODEC_ID_NONE, "vbi_vanc_smpte_436M", 11 }, | 1688 | { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0e,0x00,0x00 }, 16, AV_CODEC_ID_SMPTE_436M_ANC, "vbi_vanc_smpte_436M", 11 }, |
| 1689 | { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x13,0x01,0x01 }, 16, AV_CODEC_ID_TTML }, | 1689 | { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x13,0x01,0x01 }, 16, AV_CODEC_ID_TTML }, |
| 1690 | { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AV_CODEC_ID_NONE }, | 1690 | { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AV_CODEC_ID_NONE }, |
| 1691 | }; | 1691 | }; |
| @@ -3115,9 +3115,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) · 1423 unmodified lines |
| 3115 | st->codecpar->codec_type = type; | 3115 | st->codecpar->codec_type = type; |
| 3116 | if (container_ul->desc) | 3116 | if (container_ul->desc) |
| 3117 | av_dict_set(&st->metadata, "data_type", container_ul->desc, 0); | 3117 | av_dict_set(&st->metadata, "data_type", container_ul->desc, 0); |
| 3118 | if (mxf->eia608_extract && | 3118 | if (mxf->eia608_extract && st->codecpar->codec_id == AV_CODEC_ID_SMPTE_436M_ANC) { |
| 3119 | container_ul->desc && | | |
| 3120 | !strcmp(container_ul->desc, "vbi_vanc_smpte_436M")) { | | |
| 3121 | st->codecpar->codec_type = AVMEDIA_TYPE_SUBTITLE; | 3119 | st->codecpar->codec_type = AVMEDIA_TYPE_SUBTITLE; |
| 3122 | st->codecpar->codec_id = AV_CODEC_ID_EIA_608; | 3120 | st->codecpar->codec_id = AV_CODEC_ID_EIA_608; |
| 3123 | } | 3121 | } |