mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +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,6 +631,7 @@ gst_vaapisink_show_frame_glx(
|
||||||
if (target != GL_TEXTURE_2D || !texture)
|
if (target != GL_TEXTURE_2D || !texture)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if (sink->use_reflection)
|
||||||
render_background(sink);
|
render_background(sink);
|
||||||
|
|
||||||
glEnable(target);
|
glEnable(target);
|
||||||
|
|
Loading…
Reference in a new issue