projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d506409
)
rtspsrc: fix 'make check'
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 18 Nov 2013 17:13:49 +0000
(17:13 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 18 Nov 2013 17:13:49 +0000
(17:13 +0000)
Fix generic/states check. Also, g_return_if_fail() is
not for internal state checking.
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
1897cab
..
d363f2b
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-2643,7
+2643,8
@@
set_manager_buffer_mode (GstRTSPSrc * src)
{
GObjectClass *klass;
- g_return_if_fail (G_IS_OBJECT (src->manager));
+ if (src->manager == NULL)
+ return;
klass = G_OBJECT_GET_CLASS (G_OBJECT (src->manager));