gst/rtsp/gstrtspsrc.c: Don't try doing state changes on a NULL pointer.
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_set_state): Don't try doing state changes on a NULL pointer.
This commit is contained in:
parent
8ad4273ac5
commit
4965e7c58d
@ -1,3 +1,8 @@
|
|||||||
|
2006-07-15 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_set_state):
|
||||||
|
Don't try doing state changes on a NULL pointer.
|
||||||
|
|
||||||
2006-07-14 Wim Taymans <wim@fluendo.com>
|
2006-07-14 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
|
Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
|
||||||
|
@ -337,10 +337,12 @@ gst_rtspsrc_set_state (GstRTSPSrc * src, GstState state)
|
|||||||
stream = (GstRTSPStream *) streams->data;
|
stream = (GstRTSPStream *) streams->data;
|
||||||
|
|
||||||
/* first our rtp session manager */
|
/* first our rtp session manager */
|
||||||
if ((ret =
|
if (stream->rtpdec) {
|
||||||
gst_element_set_state (stream->rtpdec,
|
if ((ret =
|
||||||
state)) == GST_STATE_CHANGE_FAILURE)
|
gst_element_set_state (stream->rtpdec,
|
||||||
goto done;
|
state)) == GST_STATE_CHANGE_FAILURE)
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
/* then our sources */
|
/* then our sources */
|
||||||
if (stream->rtpsrc) {
|
if (stream->rtpsrc) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user