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 /gst/rtsp | |
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.
Diffstat (limited to 'gst/rtsp')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |