• Home
  • Raw
  • Download

Lines Matching refs:sinkpad

179   GstPad *sinkpad;  in GST_START_TEST()  local
203 sinkpad = gst_element_get_static_pad (qtdemux, "sink"); in GST_START_TEST()
212 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
216 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
224 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
234 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
253 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
260 gst_object_unref (sinkpad); in GST_START_TEST()
269 GstPad *sinkpad; member
306 if (gst_pad_is_linked (data->sinkpad)) { in qtdemux_block_for_reconfig()
307 GstPad *peer = gst_pad_get_peer (data->sinkpad); in qtdemux_block_for_reconfig()
309 gst_pad_unlink (peer, data->sinkpad); in qtdemux_block_for_reconfig()
312 fail_unless (gst_pad_link (data->pending_pad, data->sinkpad) == in qtdemux_block_for_reconfig()
362 if (!data->sinkpad) { in qtdemux_pad_added_cb_for_reconfig()
363 GstPad *sinkpad = gst_pad_new_from_static_template (&sinktemplate, "sink"); in qtdemux_pad_added_cb_for_reconfig() local
365 gst_pad_set_event_function (sinkpad, _sink_event); in qtdemux_pad_added_cb_for_reconfig()
366 gst_pad_set_chain_function (sinkpad, _sink_chain); in qtdemux_pad_added_cb_for_reconfig()
368 gst_pad_add_probe (sinkpad, GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM, in qtdemux_pad_added_cb_for_reconfig()
370 gst_pad_set_active (sinkpad, TRUE); in qtdemux_pad_added_cb_for_reconfig()
371 data->sinkpad = sinkpad; in qtdemux_pad_added_cb_for_reconfig()
378 GstPad *sinkpad; in GST_START_TEST() local
412 sinkpad = gst_element_get_static_pad (qtdemux, "sink"); in GST_START_TEST()
421 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
425 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
433 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
434 fail_if (data.sinkpad == NULL); in GST_START_TEST()
443 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
452 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
453 fail_if (data.sinkpad == NULL); in GST_START_TEST()
461 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
462 fail_unless (gst_pad_send_event (sinkpad, gst_event_new_eos ()) == TRUE); in GST_START_TEST()
466 gst_object_unref (sinkpad); in GST_START_TEST()
467 gst_pad_set_active (data.sinkpad, FALSE); in GST_START_TEST()
468 gst_object_unref (data.sinkpad); in GST_START_TEST()
478 GstPad *sinkpad; in GST_START_TEST() local
554 sinkpad = gst_element_get_static_pad (qtdemux, "sink"); in GST_START_TEST()
570 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
574 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
582 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
583 fail_if (data.sinkpad == NULL); in GST_START_TEST()
587 event = gst_pad_get_sticky_event (data.sinkpad, GST_EVENT_STREAM_START, 0); in GST_START_TEST()
600 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
615 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
616 fail_if (data.sinkpad == NULL); in GST_START_TEST()
624 event = gst_pad_get_sticky_event (data.sinkpad, GST_EVENT_STREAM_START, 0); in GST_START_TEST()
637 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
651 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
655 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
664 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
665 fail_if (data.sinkpad == NULL); in GST_START_TEST()
670 event = gst_pad_get_sticky_event (data.sinkpad, GST_EVENT_STREAM_START, 0); in GST_START_TEST()
683 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
697 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
701 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
710 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
711 fail_if (data.sinkpad == NULL); in GST_START_TEST()
716 event = gst_pad_get_sticky_event (data.sinkpad, GST_EVENT_STREAM_START, 0); in GST_START_TEST()
729 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
730 fail_unless (gst_pad_send_event (sinkpad, gst_event_new_eos ()) == TRUE); in GST_START_TEST()
734 gst_object_unref (sinkpad); in GST_START_TEST()
735 gst_pad_set_active (data.sinkpad, FALSE); in GST_START_TEST()
736 gst_object_unref (data.sinkpad); in GST_START_TEST()
758 GstPad *sinkpad; in GST_START_TEST() local
779 sinkpad = gst_element_get_static_pad (qtdemux_v, "sink"); in GST_START_TEST()
788 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
808 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
815 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
825 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
827 gst_object_unref (sinkpad); in GST_START_TEST()
836 sinkpad = gst_element_get_static_pad (qtdemux_a, "sink"); in GST_START_TEST()
845 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
864 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
871 fail_unless (gst_pad_send_event (sinkpad, event) == TRUE); in GST_START_TEST()
881 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST()
883 gst_object_unref (sinkpad); in GST_START_TEST()