changeset 34 | 1b8125c02661 |
parent 16 | 8e837d1bf446 |
--- a/gst_plugins_base/gst/playback/gstdecodebin.c Fri Sep 03 19:47:02 2010 -0500 +++ b/gst_plugins_base/gst/playback/gstdecodebin.c Tue Sep 21 11:28:48 2010 -0500 @@ -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);