qtmux: Use xmp on mp4mux and gppmux too

Do not restrict xmp to qtmux, but use it too
on mp4mux and gppmux
This commit is contained in:
Thiago Santos 2010-03-12 10:53:36 -03:00
parent e49f782481
commit ca30c1d915

View file

@ -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");