gst/realmedia/rmdemux.c: Set correct stream time in newsegment event.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_validate_offset),
(gst_rmdemux_perform_seek), (gst_rmdemux_src_query):
Set correct stream time in newsegment event.
This commit is contained in:
Wim Taymans 2005-10-21 11:58:38 +00:00
parent 6e90b6207f
commit 37645da4ba
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-10-21 Wim Taymans <wim@fluendo.com>
* gst/realmedia/rmdemux.c: (gst_rmdemux_validate_offset),
(gst_rmdemux_perform_seek), (gst_rmdemux_src_query):
Set correct stream time in newsegment event.
2005-10-21 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/Makefile.am:

View file

@ -585,7 +585,7 @@ gst_rmdemux_perform_seek (GstRMDemux * rmdemux, gboolean flush)
/* create the discont event we are going to send out */
event = gst_event_new_newsegment (FALSE, 1.0,
GST_FORMAT_TIME, (gint64) rmdemux->segment_start,
(gint64) rmdemux->segment_stop, 0);
(gint64) rmdemux->segment_stop, rmdemux->segment_start);
GST_DEBUG_OBJECT (rmdemux,
"sending NEWSEGMENT event to all src pads with segment_start= %"