mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Cleanups
Original commit message from CVS: Cleanups
This commit is contained in:
parent
19a845c0d7
commit
bbf23ce2c7
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@ passthrough_connect_sink (GstPad *pad, GstCaps *caps)
|
|||
g_return_val_if_fail (caps != NULL, GST_PAD_CONNECT_DELAYED);
|
||||
|
||||
filter = GST_PASSTHROUGH (gst_pad_get_parent (pad));
|
||||
g_return_if_fail (filter != NULL);
|
||||
g_return_if_fail (GST_IS_PASSTHROUGH (filter));
|
||||
g_return_val_if_fail (filter != NULL, GST_PAD_CONNECT_REFUSED);
|
||||
g_return_val_if_fail (GST_IS_PASSTHROUGH (filter), GST_PAD_CONNECT_REFUSED);
|
||||
|
||||
format = gst_caps_get_string(caps, "format");
|
||||
|
||||
|
|
Loading…
Reference in a new issue