diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-02-18 11:13:35 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-02-18 11:13:35 +0000 |
commit | a1abaa3bfecc11632f29b15e1ccffe15c7957db5 (patch) | |
tree | 13d8592755c5c5b810eb214536a1c24d73962bc7 | |
parent | fa6c3c178c333efc8b6293d95ecf58afc1562b8f (diff) |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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); |