From a1abaa3bfecc11632f29b15e1ccffe15c7957db5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 18 Feb 2008 11:13:35 +0000 Subject: 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. --- ChangeLog | 6 ++++++ gst/rtsp/gstrtspsrc.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index f4d7c827..5873d9d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-18 Wim Taymans + + * 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 * 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); -- cgit