Ticket #2198: patchul.diff

File patchul.diff, 1021 bytes (added by cehoyos, 4 years ago)
  • libavformat/mxfdec.c

    diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
    index 648a579..029809a 100644
    a b static int mxf_parse_structural_metadata(MXFContext *mxf) 
    15061506        /* TODO: drop PictureEssenceCoding and SoundEssenceCompression, only check EssenceContainer */ 
    15071507        codec_ul = mxf_get_codec_ul(ff_mxf_codec_uls, &descriptor->essence_codec_ul); 
    15081508        st->codec->codec_id = (enum AVCodecID)codec_ul->id; 
     1509        av_log(mxf->fc, AV_LOG_VERBOSE, "%s: Universal Label: 0x", 
     1510               avcodec_get_name(st->codec->codec_id)); 
     1511        for (k = 0; k < 16; k++) 
     1512            av_log(mxf->fc, AV_LOG_VERBOSE, "%.2x", 
     1513                   descriptor->essence_codec_ul[k]); 
     1514        av_log(mxf->fc, AV_LOG_VERBOSE, "\n"); 
    15091515        if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO) { 
    15101516            source_track->intra_only = mxf_is_intra_only(descriptor); 
    15111517            container_ul = mxf_get_codec_ul(mxf_picture_essence_container_uls, essence_container_ul);