Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
e709012f by François Cartegnie at 2024-06-09T11:26:18+00:00
demux: adaptive: map VVC

- - - - -
3d080040 by François Cartegnie at 2024-06-09T11:26:18+00:00
demux: adaptive: map CAVS/AVS2/AVS3

- - - - -


1 changed file:

- modules/demux/adaptive/tools/FormatNamespace.cpp


Changes:

=====================================
modules/demux/adaptive/tools/FormatNamespace.cpp
=====================================
@@ -136,6 +136,15 @@ void FormatNamespace::Parse(vlc_fourcc_t fcc, const 
std::vector<std::string> &el
                 fmt.i_level = std::stoi(elements.at(1), nullptr, 16);
             }
             break;
+        case MP4RA("avs1"):
+            es_format_Change(&fmt, VIDEO_ES, VLC_CODEC_CAVS);
+            break;
+        case MP4RA("avs2"):
+            es_format_Change(&fmt, VIDEO_ES, VLC_CODEC_CAVS2);
+            break;
+        case MP4RA("avs3"):
+            es_format_Change(&fmt, VIDEO_ES, VLC_CODEC_CAVS3);
+            break;
         case MP4RA("vp09"):
         case MP4RA("vp08"):
             es_format_Change(&fmt, VIDEO_ES,
@@ -148,6 +157,12 @@ void FormatNamespace::Parse(vlc_fourcc_t fcc, const 
std::vector<std::string> &el
                 fmt.i_level = std::stoi(elements.at(1), nullptr, 16);
             }
             break;
+        case MP4RA("vvc1"):
+        case MP4RA("vvi1"):
+            es_format_Change(&fmt, VIDEO_ES, VLC_CODEC_VVC);
+            if(elements.size() > 0)
+                fmt.i_profile = std::stoi(elements.at(0), nullptr, 16);
+            break;
         case MSFCC("AVC1"):
         case MSFCC("AVCB"):
         case MSFCC("H264"):



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/804acaed6762e0213ab263fb6e203a185c7a4cb1...3d08004001fe8a1fd5abffcb9f8da93ee6b56226

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/804acaed6762e0213ab263fb6e203a185c7a4cb1...3d08004001fe8a1fd5abffcb9f8da93ee6b56226
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to