taginject: resend tags when they are changed
authorTuukka Pasanen <tuukka.pasanen@ilmi.fi>
Mon, 14 Feb 2011 13:21:29 +0000 (15:21 +0200)
committerStefan Kost <ensonic@users.sf.net>
Mon, 14 Feb 2011 13:23:56 +0000 (15:23 +0200)
Allow setting new tags on the property while running and send them.

Fixes #640249

gst/debugutils/gsttaginject.c

index 9197ad5..a5e78fe 100644 (file)
@@ -168,6 +168,9 @@ gst_tag_inject_set_property (GObject * object, guint prop_id,
       if (!(self->tags = gst_structure_from_string (structure, NULL))) {
         GST_WARNING ("unparsable taglist = '%s'", structure);
       }
+
+      /* make sure that tags will be send */
+      self->tags_sent = FALSE;
       g_free (structure);
       break;
     }