From 37645da4ba94945c15e89afec7a7f631691fa959 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 21 Oct 2005 11:58:38 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/realmedia/rmdemux.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index de49d717e5..81a5fcfb74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-10-21 Wim Taymans + + * 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 * ext/Makefile.am: diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c index 68e8440265..f1a0519048 100644 --- a/gst/realmedia/rmdemux.c +++ b/gst/realmedia/rmdemux.c @@ -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= %"