Lines Matching refs:bsink
44 static gboolean gst_gtk_gl_sink_start (GstBaseSink * bsink);
45 static gboolean gst_gtk_gl_sink_stop (GstBaseSink * bsink);
46 static gboolean gst_gtk_gl_sink_query (GstBaseSink * bsink, GstQuery * query);
47 static gboolean gst_gtk_gl_sink_propose_allocation (GstBaseSink * bsink,
49 static GstCaps *gst_gtk_gl_sink_get_caps (GstBaseSink * bsink,
183 gst_gtk_gl_sink_query (GstBaseSink * bsink, GstQuery * query) in gst_gtk_gl_sink_query() argument
185 GstGtkGLSink *gtk_sink = GST_GTK_GL_SINK (bsink); in gst_gtk_gl_sink_query()
197 res = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query); in gst_gtk_gl_sink_query()
244 gst_gtk_gl_sink_start (GstBaseSink * bsink) in gst_gtk_gl_sink_start() argument
246 GstGtkBaseSink *base_sink = GST_GTK_BASE_SINK (bsink); in gst_gtk_gl_sink_start()
247 GstGtkGLSink *gtk_sink = GST_GTK_GL_SINK (bsink); in gst_gtk_gl_sink_start()
250 if (!GST_BASE_SINK_CLASS (parent_class)->start (bsink)) in gst_gtk_gl_sink_start()
268 GST_ELEMENT_ERROR (bsink, RESOURCE, NOT_FOUND, ("%s", in gst_gtk_gl_sink_start()
278 GST_ELEMENT_ERROR (bsink, RESOURCE, NOT_FOUND, ("%s", in gst_gtk_gl_sink_start()
283 gst_gl_element_propagate_display_context (GST_ELEMENT (bsink), in gst_gtk_gl_sink_start()
290 gst_gtk_gl_sink_stop (GstBaseSink * bsink) in gst_gtk_gl_sink_stop() argument
292 GstGtkGLSink *gtk_sink = GST_GTK_GL_SINK (bsink); in gst_gtk_gl_sink_stop()
309 return GST_BASE_SINK_CLASS (parent_class)->stop (bsink); in gst_gtk_gl_sink_stop()
313 gst_gtk_gl_sink_propose_allocation (GstBaseSink * bsink, GstQuery * query) in gst_gtk_gl_sink_propose_allocation() argument
315 GstGtkGLSink *gtk_sink = GST_GTK_GL_SINK (bsink); in gst_gtk_gl_sink_propose_allocation()
389 GST_DEBUG_OBJECT (bsink, "no caps specified"); in gst_gtk_gl_sink_propose_allocation()
394 GST_DEBUG_OBJECT (bsink, "invalid caps specified"); in gst_gtk_gl_sink_propose_allocation()
399 GST_DEBUG_OBJECT (bsink, "failed setting config"); in gst_gtk_gl_sink_propose_allocation()
405 gst_gtk_gl_sink_get_caps (GstBaseSink * bsink, GstCaps * filter) in gst_gtk_gl_sink_get_caps() argument
410 tmp = gst_pad_get_pad_template_caps (GST_BASE_SINK_PAD (bsink)); in gst_gtk_gl_sink_get_caps()
413 GST_DEBUG_OBJECT (bsink, "intersecting with filter caps %" GST_PTR_FORMAT, in gst_gtk_gl_sink_get_caps()
424 GST_DEBUG_OBJECT (bsink, "returning caps: %" GST_PTR_FORMAT, result); in gst_gtk_gl_sink_get_caps()