summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-03-12 10:53:36 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-03-12 11:50:48 -0300
commitca30c1d915d54466843de88380f064034f87399f (patch)
treee092bd838201b1e4416c35876af0299046a99332
parente49f78248141399df15f0cc6412b1b6de4e0516a (diff)
qtmux: Use xmp on mp4mux and gppmux too
Do not restrict xmp to qtmux, but use it too on mp4mux and gppmux
-rw-r--r--gst/qtmux/gstqtmux.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c
index 96f97abf4..6035c61c8 100644
--- a/gst/qtmux/gstqtmux.c
+++ b/gst/qtmux/gstqtmux.c
@@ -882,8 +882,11 @@ gst_qt_mux_add_xmp_tags (GstQTMux * qtmux, const GstTagList * list)
{
GstQTMuxClass *qtmux_klass = (GstQTMuxClass *) (G_OBJECT_GET_CLASS (qtmux));
- if (qtmux_klass->format != GST_QT_MUX_FORMAT_QT)
- return; /* adobe spec only specs for qt */
+ /* adobe specs only say 'quicktime', but I guess we can extrapolate to
+ * mp4 and gpp. Keep mj2 out for now as we don't add any tags for it yet.
+ * If you have further info about xmp on these formats, please share */
+ if (qtmux_klass->format == GST_QT_MUX_FORMAT_MJ2)
+ return;
GST_DEBUG_OBJECT (qtmux, "Adding xmp tags");