satisfy gst-indent

This commit is contained in:
Lubosz Sarnecki 2014-10-29 12:22:14 +01:00 committed by Tim-Philipp Müller
parent 1a25f7e44a
commit e173ab2b9d

View file

@ -468,7 +468,8 @@ _ensure_gl_setup (GstGLImageSink * gl_sink)
{ {
GError *error = NULL; GError *error = NULL;
if (!gst_gl_ensure_element_data (gl_sink, &gl_sink->display, &gl_sink->other_context)) if (!gst_gl_ensure_element_data (gl_sink, &gl_sink->display,
&gl_sink->other_context))
return FALSE; return FALSE;
if (!gl_sink->context) { if (!gl_sink->context) {
@ -584,7 +585,8 @@ gst_glimage_sink_set_context (GstElement * element, GstContext * context)
{ {
GstGLImageSink *gl_sink = GST_GLIMAGE_SINK (element); GstGLImageSink *gl_sink = GST_GLIMAGE_SINK (element);
gst_gl_handle_set_context (element, context, &gl_sink->display, &gl_sink->other_context); gst_gl_handle_set_context (element, context, &gl_sink->display,
&gl_sink->other_context);
} }
static GstStateChangeReturn static GstStateChangeReturn
@ -605,7 +607,8 @@ gst_glimage_sink_change_state (GstElement * element, GstStateChange transition)
case GST_STATE_CHANGE_READY_TO_PAUSED: case GST_STATE_CHANGE_READY_TO_PAUSED:
g_atomic_int_set (&glimage_sink->to_quit, 0); g_atomic_int_set (&glimage_sink->to_quit, 0);
if (!glimage_sink->display) { if (!glimage_sink->display) {
if (!gst_gl_ensure_element_data (glimage_sink, &glimage_sink->display, &glimage_sink->other_context)) if (!gst_gl_ensure_element_data (glimage_sink, &glimage_sink->display,
&glimage_sink->other_context))
return GST_STATE_CHANGE_FAILURE; return GST_STATE_CHANGE_FAILURE;
} }
break; break;