nle: Drop tags getting out of the composition
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Sat, 17 Sep 2016 12:46:59 +0000 (09:46 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 26 Sep 2016 16:33:20 +0000 (13:33 -0300)
Those tag are meaningless in for the new stream created by the composition

First step toward fixing T3070

Differential Revision: https://phabricator.freedesktop.org/D1327

plugins/nle/nlecomposition.c

index 91508d1..4ee83e6 100644 (file)
@@ -1240,6 +1240,10 @@ ghost_event_probe_handler (GstPad * ghostpad G_GNUC_UNUSED,
       gst_event_unref (event);
     }
       break;
+    case GST_EVENT_TAG:
+      GST_DEBUG_OBJECT (comp, "Dropping tag: %" GST_PTR_FORMAT, info->data);
+      retval = GST_PAD_PROBE_DROP;
+      break;
     case GST_EVENT_EOS:
     {
       gint seqnum = gst_event_get_seqnum (event);