changeset 35 | e3187d58ca5e |
parent 8 | 4a7fac7dd34a |
--- a/gst_plugins_base/gst/playback/gstdecodebin.c Fri Sep 17 08:31:31 2010 +0300 +++ b/gst_plugins_base/gst/playback/gstdecodebin.c Mon Oct 04 00:35:59 2010 +0300 @@ -400,6 +400,7 @@ /* get the sinkpad */ pad = gst_element_get_static_pad (decode_bin->typefind, "sink"); + g_return_if_fail (pad != NULL); /* ghost the sink pad to ourself */ gpad = gst_ghost_pad_new ("sink", pad);