Lines Matching refs:appsink
62 GstElement *appsink; member
423 GstElement *udpsrc = NULL, *rtpbin = NULL, *depay = NULL, *appsink = NULL; in init_receive_pipeline() local
439 MAKE_ELEMENT(appsink, "appsink"); in init_receive_pipeline()
443 gst_bin_add_many(GST_BIN(c->pipeline), udpsrc, rtpbin, depay, appsink, NULL); in init_receive_pipeline()
463 g_object_set(appsink, "sync", FALSE, "enable-last-sample", FALSE, NULL); in init_receive_pipeline()
472 g_object_set(appsink, "caps", sink_caps, NULL); in init_receive_pipeline()
484 !gst_element_link(resample, appsink)) { in init_receive_pipeline()
491 !gst_element_link(depay, appsink)) { in init_receive_pipeline()
513 c->appsink = gst_object_ref(appsink); in init_receive_pipeline()
532 if (appsink) in init_receive_pipeline()
533 gst_object_unref(appsink); in init_receive_pipeline()
540 static void appsink_eos(GstAppSink *appsink, gpointer userdata) { in appsink_eos() argument
547 static GstFlowReturn appsink_new_sample(GstAppSink *appsink, gpointer userdata) { in appsink_new_sample() argument
585 gst_app_sink_set_callbacks(GST_APP_SINK(c->appsink), &callbacks, c, NULL); in pa_rtp_context_new_recv()
612 sample = gst_app_sink_try_pull_sample(GST_APP_SINK(c->appsink), 0); in pa_rtp_recv()
731 if (c->appsink) in pa_rtp_context_free()
732 gst_object_unref(c->appsink); in pa_rtp_context_free()