equal
deleted
inserted
replaced
398 decode_bin->typefind = NULL; |
398 decode_bin->typefind = NULL; |
399 } |
399 } |
400 |
400 |
401 /* get the sinkpad */ |
401 /* get the sinkpad */ |
402 pad = gst_element_get_static_pad (decode_bin->typefind, "sink"); |
402 pad = gst_element_get_static_pad (decode_bin->typefind, "sink"); |
|
403 g_return_if_fail (pad != NULL); |
403 |
404 |
404 /* ghost the sink pad to ourself */ |
405 /* ghost the sink pad to ourself */ |
405 gpad = gst_ghost_pad_new ("sink", pad); |
406 gpad = gst_ghost_pad_new ("sink", pad); |
406 gst_pad_set_active (gpad, TRUE); |
407 gst_pad_set_active (gpad, TRUE); |
407 gst_element_add_pad (GST_ELEMENT (decode_bin), gpad); |
408 gst_element_add_pad (GST_ELEMENT (decode_bin), gpad); |