Pass on the discont event when returning to NORMAL mode after reading tags.

Original commit message from CVS:
Pass on the discont event when returning to NORMAL mode after reading tags.
This commit is contained in:
Jan Schmidt 2005-07-18 13:58:21 +00:00
parent 26770dc8af
commit ef9f62d3c4
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-07-18 Jan Schmidt <thaytan@mad.scientist.com>
* ext/mad/gstid3tag.c: (gst_id3_tag_sink_event):
When returning to NORMAL state after reading tags,
pass on the discont event.
2005-07-18 Wim Taymans <wim@fluendo.com>
* gst/realmedia/rmdemux.c: (gst_rmdemux_sink_event),

View file

@ -808,7 +808,7 @@ gst_id3_tag_sink_event (GstPad * pad, GstEvent * event)
case GST_ID3_TAG_STATE_SEEKING_TO_NORMAL:
/* just assume it's the right seek for now */
gst_id3_tag_set_state (tag, GST_ID3_TAG_STATE_NORMAL_START);
gst_event_unref (event);
gst_pad_push_event (tag->srcpad, event);
break;
case GST_ID3_TAG_STATE_NORMAL_START:
if (!CAN_BE_DEMUXER (tag)) {