Skip to content
Snippets Groups Projects
Commit 21239900 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Steve Lhomme
Browse files

demux: mp4: add missing values for object_type_indication

parent a1aaa257
No related branches found
No related tags found
1 merge request!6116demux: mp4: add missing values for object_type_indication
Pipeline #519785 passed with stage
in 13 minutes and 58 seconds
......@@ -38,6 +38,12 @@ static inline bool MPEG4_Codec_By_ObjectType(uint8_t oti,
case 0x21: /* H.264 */
*pi_codec = VLC_CODEC_H264;
break;
case 0x22: /* H.265 */
*pi_codec = VLC_CODEC_HEVC;
break;
case 0x23: /* H.266 */
*pi_codec = VLC_CODEC_VVC;
break;
case 0x40:
case 0x41:
*pi_codec = VLC_CODEC_MP4A;
......@@ -104,9 +110,15 @@ static inline bool MPEG4_Codec_By_ObjectType(uint8_t oti,
case 0xad:
*pi_codec = VLC_CODEC_OPUS;
break;
case 0xB1:
*pi_codec = VLC_CODEC_VP9;
break;
case 0xDD:
*pi_codec = VLC_CODEC_VORBIS;
break;
case 0xE1:
*pi_codec = VLC_CODEC_QCELP;
break;
default:
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment