mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
glfilter: gst-indent file
This commit is contained in:
parent
81ceca1aea
commit
0289fbe2cd
1 changed files with 8 additions and 4 deletions
|
@ -294,7 +294,8 @@ gst_gl_filter_start (GstBaseTransform * bt)
|
||||||
GstGLFilter *filter = GST_GL_FILTER (bt);
|
GstGLFilter *filter = GST_GL_FILTER (bt);
|
||||||
GstGLFilterClass *filter_class = GST_GL_FILTER_GET_CLASS (filter);
|
GstGLFilterClass *filter_class = GST_GL_FILTER_GET_CLASS (filter);
|
||||||
|
|
||||||
if (!gst_gl_ensure_element_data (filter, &filter->display, &filter->other_context))
|
if (!gst_gl_ensure_element_data (filter, &filter->display,
|
||||||
|
&filter->other_context))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (filter_class->onStart)
|
if (filter_class->onStart)
|
||||||
|
@ -874,7 +875,8 @@ gst_gl_filter_propose_allocation (GstBaseTransform * trans,
|
||||||
gst_structure_free (config);
|
gst_structure_free (config);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gst_gl_ensure_element_data (filter, &filter->display, &filter->other_context))
|
if (!gst_gl_ensure_element_data (filter, &filter->display,
|
||||||
|
&filter->other_context))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!filter->context) {
|
if (!filter->context) {
|
||||||
|
@ -995,7 +997,8 @@ gst_gl_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query)
|
||||||
guint in_width, in_height, out_width, out_height;
|
guint in_width, in_height, out_width, out_height;
|
||||||
GstGLContext *other_context = NULL;
|
GstGLContext *other_context = NULL;
|
||||||
|
|
||||||
if (!gst_gl_ensure_element_data (filter, &filter->display, &filter->other_context))
|
if (!gst_gl_ensure_element_data (filter, &filter->display,
|
||||||
|
&filter->other_context))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (gst_query_find_allocation_meta (query,
|
if (gst_query_find_allocation_meta (query,
|
||||||
|
@ -1242,7 +1245,8 @@ gst_gl_filter_transform (GstBaseTransform * bt, GstBuffer * inbuf,
|
||||||
filter = GST_GL_FILTER (bt);
|
filter = GST_GL_FILTER (bt);
|
||||||
filter_class = GST_GL_FILTER_GET_CLASS (bt);
|
filter_class = GST_GL_FILTER_GET_CLASS (bt);
|
||||||
|
|
||||||
if (!gst_gl_ensure_element_data (filter, &filter->display, &filter->other_context))
|
if (!gst_gl_ensure_element_data (filter, &filter->display,
|
||||||
|
&filter->other_context))
|
||||||
return GST_FLOW_NOT_NEGOTIATED;
|
return GST_FLOW_NOT_NEGOTIATED;
|
||||||
|
|
||||||
if (!filter->upload) {
|
if (!filter->upload) {
|
||||||
|
|
Loading…
Reference in a new issue