mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Render pretty background only in use-reflection=true mode.
This commit is contained in:
parent
7dfec25d5c
commit
028ed08f8c
1 changed files with 2 additions and 1 deletions
|
@ -631,7 +631,8 @@ gst_vaapisink_show_frame_glx(
|
|||
if (target != GL_TEXTURE_2D || !texture)
|
||||
return FALSE;
|
||||
|
||||
render_background(sink);
|
||||
if (sink->use_reflection)
|
||||
render_background(sink);
|
||||
|
||||
glEnable(target);
|
||||
glBindTexture(target, texture);
|
||||
|
|
Loading…
Reference in a new issue