gst/rtsp/gstrtspsrc.c: Init values to -1 instead of the default 0 value.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 18 Feb 2008 11:13:35 +0000 (11:13 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 18 Feb 2008 11:13:35 +0000 (11:13 +0000)
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream):
Init values to -1 instead of the default 0 value.
Fixes #516524.

ChangeLog
gst/rtsp/gstrtspsrc.c

index f4d7c82..5873d9d 100644 (file)
--- 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:
index 4883d5e..121cfdc 100644 (file)
@@ -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);