parent
2591a882ae
commit
9764b57b0a
@ -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…
x
Reference in New Issue
Block a user