summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--gst/rtsp/gstrtspsrc.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f4d7c827..5873d9d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-18 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream):
+ Init values to -1 instead of the default 0 value.
+ Fixes #516524.
+
2008-02-14 Stefan Kost <ensonic@users.sf.net>
* tests/examples/spectrum/spectrum-example.c:
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 4883d5e3..121cfdc0 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -611,6 +611,8 @@ gst_rtspsrc_create_stream (GstRTSPSrc * src, GstSDPMessage * sdp, gint idx)
stream->id = src->numstreams++;
stream->eos = FALSE;
stream->discont = TRUE;
+ stream->seqbase = -1;
+ stream->timebase = -1;
/* collect bandwidth information for this steam */
gst_rtspsrc_collect_bandwidth (src, sdp, media, stream);