summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2021-01-18 16:06:27 +1100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-09-13 09:42:15 +0000
commitf441c72e5ac1196993ce9d166a25f829c8979b80 (patch)
tree3ccf0755408c37ff5e32688c88d02f5d87f09355
parent3592bf772686867066c68754680d551e2f0a0f80 (diff)
downloadgstreamer-plugins-good-f441c72e5ac1196993ce9d166a25f829c8979b80.tar.gz
isomp4: also allow muxing different h264/5 profiles/levels/etc
All of that is advertised through the codec_data itself so can change just fine within isomp4. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1071>
-rw-r--r--gst/isomp4/gstqtmux.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index 6d54fcfc9..999621aa8 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -5731,6 +5731,21 @@ check_field (GQuark field_id, const GValue * value, gpointer user_data)
return TRUE;
} else if (g_strcmp0 (g_quark_to_string (field_id), "profile") == 0) {
return TRUE;
+ } else if (g_strcmp0 (g_quark_to_string (field_id), "chroma-format") == 0) {
+ return TRUE;
+ } else if (g_strcmp0 (g_quark_to_string (field_id), "bit-depth-luma") == 0) {
+ return TRUE;
+ } else if (g_strcmp0 (g_quark_to_string (field_id),
+ "bit-depth-chroma") == 0) {
+ return TRUE;
+ } else if (g_strcmp0 (g_quark_to_string (field_id), "colorimetry") == 0) {
+ return TRUE;
+ } else if (g_strcmp0 (g_quark_to_string (field_id), "width") == 0) {
+ /* TODO: this may require a separate track but gst, vlc, ffmpeg and
+ * browsers work with this so... */
+ return TRUE;
+ } else if (g_strcmp0 (g_quark_to_string (field_id), "height") == 0) {
+ return TRUE;
}
}