gst/rtsp/gstrtspsrc.c: Init values to -1 instead of the default 0 value.

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.
This commit is contained in:
Wim Taymans 2008-02-18 11:13:35 +00:00
parent fa6c3c178c
commit a1abaa3bfe
2 changed files with 8 additions and 0 deletions

View file

@ -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:

View 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);