mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
glvideomixer: Fix coding style
This commit is contained in:
parent
5958b0bd32
commit
443b321ca1
1 changed files with 3 additions and 3 deletions
|
@ -618,7 +618,7 @@ gst_gl_video_mixer_pad_init (GstGLVideoMixerPad * pad)
|
|||
pad->blend_function_src_alpha = DEFAULT_PAD_BLEND_FUNCTION_SRC_ALPHA;
|
||||
pad->blend_function_dst_rgb = DEFAULT_PAD_BLEND_FUNCTION_DST_RGB;
|
||||
pad->blend_function_dst_alpha = DEFAULT_PAD_BLEND_FUNCTION_DST_ALPHA;
|
||||
memset(pad->m_matrix, 0, sizeof(gfloat) * 4 * 4);
|
||||
memset (pad->m_matrix, 0, sizeof (gfloat) * 4 * 4);
|
||||
pad->m_matrix[0] = 1.0;
|
||||
pad->m_matrix[5] = 1.0;
|
||||
pad->m_matrix[10] = 1.0;
|
||||
|
@ -1590,7 +1590,7 @@ gst_gl_video_mixer_callback (gpointer stuff)
|
|||
|
||||
af_meta = gst_buffer_get_video_affine_transformation_meta (buffer);
|
||||
gst_gl_get_affine_transformation_meta_as_ndc_ext (af_meta, af_matrix);
|
||||
gst_gl_multiply_matrix4(af_matrix, pad->m_matrix, matrix);
|
||||
gst_gl_multiply_matrix4 (af_matrix, pad->m_matrix, matrix);
|
||||
gst_gl_shader_set_uniform_matrix_4fv (video_mixer->shader,
|
||||
"u_transformation", 1, FALSE, matrix);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue