mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
parent
2591a882ae
commit
9764b57b0a
1 changed files with 2 additions and 1 deletions
|
@ -528,6 +528,8 @@ gst_rtspsrc_init (GstRTSPSrc * src, GstRTSPSrcClass * g_class)
|
|||
g_static_rec_mutex_init (src->state_rec_lock);
|
||||
|
||||
src->state = GST_RTSP_STATE_INVALID;
|
||||
|
||||
GST_OBJECT_FLAG_SET (src, GST_ELEMENT_IS_SOURCE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -5491,7 +5493,6 @@ gst_rtspsrc_open_from_sdp (GstRTSPSrc * src, GstSDPMessage * sdp,
|
|||
}
|
||||
|
||||
src->state = GST_RTSP_STATE_INIT;
|
||||
GST_OBJECT_FLAG_SET (src, GST_ELEMENT_IS_SOURCE);
|
||||
|
||||
/* setup streams */
|
||||
if ((res = gst_rtspsrc_setup_streams (src, async)) < 0)
|
||||
|
|
Loading…
Reference in a new issue