diff options
author | Wim Taymans <wtaymans@redhat.com> | 2014-06-27 16:54:22 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2014-06-27 16:55:07 +0200 |
commit | db95746f6b29432cf4fbe8b88ea0fb2dbb03fe73 (patch) | |
tree | 1c53c96ec5fdffb82fe11531b607b326bbc0e922 | |
parent | cecc2cb4ff0b66270da77ad1511f26591ec8947f (diff) |
stream: crypto can be NULL
-rw-r--r-- | gst/rtsp-server/rtsp-stream.c | 2 |
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; |