summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-06-27 16:54:22 +0200
committerWim Taymans <wtaymans@redhat.com>2014-06-27 16:55:07 +0200
commitdb95746f6b29432cf4fbe8b88ea0fb2dbb03fe73 (patch)
tree1c53c96ec5fdffb82fe11531b607b326bbc0e922
parentcecc2cb4ff0b66270da77ad1511f26591ec8947f (diff)
stream: crypto can be NULL
-rw-r--r--gst/rtsp-server/rtsp-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c
index 7f12e13..02c8274 100644
--- a/gst/rtsp-server/rtsp-stream.c
+++ b/gst/rtsp-server/rtsp-stream.c
@@ -2381,7 +2381,7 @@ gst_rtsp_stream_update_crypto (GstRTSPStream * stream,
GstRTSPStreamPrivate *priv;
g_return_val_if_fail (GST_IS_RTSP_STREAM (stream), FALSE);
- g_return_val_if_fail (GST_IS_CAPS (crypto), FALSE);
+ g_return_val_if_fail (crypto == NULL || GST_IS_CAPS (crypto), FALSE);
priv = stream->priv;