mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
gst/realmedia/rmdemux.c: Flush timestamp correction variables on a flush. Fixes #533832.
Original commit message from CVS: * gst/realmedia/rmdemux.c: (gst_rmdemux_send_event): Flush timestamp correction variables on a flush. Fixes #533832.
This commit is contained in:
parent
3530e34731
commit
a40deba0ce
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/realmedia/rmdemux.c: (gst_rmdemux_send_event):
|
||||
Flush timestamp correction variables on a flush. Fixes #533832.
|
||||
|
||||
2008-05-14 Jan Schmidt <jan.schmidt@sun.com>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -1255,6 +1255,17 @@ gst_rmdemux_send_event (GstRMDemux * rmdemux, GstEvent * event)
|
|||
GST_DEBUG_OBJECT (rmdemux, "Pushing %s event on pad %s",
|
||||
GST_EVENT_TYPE_NAME (event), GST_PAD_NAME (stream->pad));
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_FLUSH_STOP:
|
||||
stream->last_ts = -1;
|
||||
stream->next_ts = -1;
|
||||
stream->last_seq = -1;
|
||||
stream->next_seq = -1;
|
||||
stream->last_flow = GST_FLOW_OK;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
gst_event_ref (event);
|
||||
gst_pad_push_event (stream->pad, event);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue