mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
sink: Small code cleanup
This commit is contained in:
@@ -434,12 +434,9 @@ gst_clapper_gl_sink_query (GstBaseSink * bsink, GstQuery * query)
|
|||||||
|
|
||||||
switch (GST_QUERY_TYPE (query)) {
|
switch (GST_QUERY_TYPE (query)) {
|
||||||
case GST_QUERY_CONTEXT:
|
case GST_QUERY_CONTEXT:
|
||||||
{
|
res = gst_gl_handle_context_query ((GstElement *) clapper_sink, query,
|
||||||
if (gst_gl_handle_context_query ((GstElement *) clapper_sink, query,
|
clapper_sink->display, clapper_sink->context, clapper_sink->gtk_context);
|
||||||
clapper_sink->display, clapper_sink->context, clapper_sink->gtk_context))
|
|
||||||
return TRUE;
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
res = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query);
|
res = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user