Lines Matching refs:basesink
399 GstBaseSink *basesink; in gst_sf_sink_loop() local
404 basesink = GST_BASE_SINK (this); in gst_sf_sink_loop()
406 result = gst_pad_pull_range (pad, basesink->offset, in gst_sf_sink_loop()
414 basesink->offset += GST_BUFFER_SIZE (buf); in gst_sf_sink_loop()
416 GST_BASE_SINK_PREROLL_LOCK (basesink); in gst_sf_sink_loop()
417 result = gst_sf_sink_render (basesink, buf); in gst_sf_sink_loop()
418 GST_BASE_SINK_PREROLL_UNLOCK (basesink); in gst_sf_sink_loop()
429 GST_INFO_OBJECT (basesink, "pausing task, reason %s", in gst_sf_sink_loop()
436 GST_ELEMENT_FLOW_ERROR (basesink, result); in gst_sf_sink_loop()
451 gst_sf_sink_activate_pull (GstBaseSink * basesink, gboolean active) in gst_sf_sink_activate_pull() argument
457 result = gst_pad_start_task (basesink->sinkpad, in gst_sf_sink_activate_pull()
458 (GstTaskFunction) gst_sf_sink_loop, basesink->sinkpad, NULL); in gst_sf_sink_activate_pull()
461 result = gst_pad_stop_task (basesink->sinkpad); in gst_sf_sink_activate_pull()