From ca30c1d915d54466843de88380f064034f87399f Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 12 Mar 2010 10:53:36 -0300 Subject: [PATCH] qtmux: Use xmp on mp4mux and gppmux too Do not restrict xmp to qtmux, but use it too on mp4mux and gppmux --- gst/qtmux/gstqtmux.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c index 96f97abf4c..6035c61c82 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");