[vlc-commits] [Git][videolan/vlc][master] demux: mp4: add missing values for object_type_indication

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Oct 4 10:11:19 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
21239900 by François Cartegnie at 2024-10-04T09:41:31+00:00
demux: mp4: add missing values for object_type_indication

- - - - -


1 changed file:

- modules/demux/mp4/mpeg4.h


Changes:

=====================================
modules/demux/mp4/mpeg4.h
=====================================
@@ -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;
     }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2123990073760a6faa34c92cef04d84703a8944a

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2123990073760a6faa34c92cef04d84703a8944a
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list