Revision 60e73066

View differences:

libavformat/mpegts.c
954 954
        language[2] = get8(pp, desc_end);
955 955
        language[3] = 0;
956 956
        av_metadata_set2(&st->metadata, "language", language, 0);
957
        switch (get8(pp, desc_end)) {
958
            case 0x01: st->disposition |= AV_DISPOSITION_CLEAN_EFFECTS; break;
959
            case 0x02: st->disposition |= AV_DISPOSITION_HEARING_IMPAIRED; break;
960
            case 0x03: st->disposition |= AV_DISPOSITION_VISUAL_IMPAIRED; break;
961
        }
957 962
        break;
958 963
    case 0x05: /* registration descriptor */
959 964
        st->codec->codec_tag = bytestream_get_le32(pp);

Also available in: Unified diff