equal
deleted
inserted
replaced
628 decode_bin->typefind = NULL; |
628 decode_bin->typefind = NULL; |
629 } |
629 } |
630 |
630 |
631 /* get the sinkpad */ |
631 /* get the sinkpad */ |
632 pad = gst_element_get_static_pad (decode_bin->typefind, "sink"); |
632 pad = gst_element_get_static_pad (decode_bin->typefind, "sink"); |
633 |
633 g_return_if_fail (pad != NULL); |
|
634 |
634 /* ghost the sink pad to ourself */ |
635 /* ghost the sink pad to ourself */ |
635 gpad = gst_ghost_pad_new ("sink", pad); |
636 gpad = gst_ghost_pad_new ("sink", pad); |
636 gst_pad_set_active (gpad, TRUE); |
637 gst_pad_set_active (gpad, TRUE); |
637 gst_element_add_pad (GST_ELEMENT (decode_bin), gpad); |
638 gst_element_add_pad (GST_ELEMENT (decode_bin), gpad); |
638 |
639 |