diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index d2466c35..e82d9087 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -429,7 +429,7 @@ gst_rtspsrc_loop (GstRTSPSrc * src) GList *lstream; GstRTSPStream *stream; GstPadChainFunction chainfunc; - GstPad *outpad; + GstPad *outpad = NULL; guint8 *data; gint size; @@ -462,6 +462,10 @@ gst_rtspsrc_loop (GstRTSPSrc * src) outpad = stream->rtpdecrtcp; } + /* we have no clue what this is, just ignore then. */ + if (outpad == NULL) + goto unknown_stream; + /* and chain buffer to internal element */ { GstBuffer *buf; |