ttmlparse: push segment events downstream
authorChris Bass <floobleflam@gmail.com>
Tue, 4 Apr 2017 10:47:55 +0000 (11:47 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 9 Apr 2017 07:42:26 +0000 (10:42 +0300)
Without this, subtitles will stop after seeking.

https://bugzilla.gnome.org/show_bug.cgi?id=780897

ext/ttml/gstttmlparse.c

index 9bc05c0..6de9a1f 100644 (file)
@@ -524,6 +524,7 @@ gst_ttml_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
        * seek request and instead send us a newsegment from the seek request
        * it received via its video pads instead, so all is fine then too) */
       ret = TRUE;
+      self->need_segment = TRUE;
       gst_event_unref (event);
       break;
     }