mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
glimagesink: expose should do redisplay all the time
when using internal window, window resize should work when pause state, but expose only do redisplay when window_id is valid. So expose should do redisplay all the time. https://bugzilla.gnome.org/show_bug.cgi?id=787394
This commit is contained in:
parent
64526327c9
commit
5f4ee3909e
1 changed files with 3 additions and 3 deletions
|
@ -1789,9 +1789,9 @@ gst_glimage_sink_expose (GstVideoOverlay * overlay)
|
|||
GstGLImageSink *glimage_sink = GST_GLIMAGE_SINK (overlay);
|
||||
|
||||
/* redisplay opengl scene */
|
||||
if (glimage_sink->display && glimage_sink->window_id) {
|
||||
|
||||
if (glimage_sink->window_id != glimage_sink->new_window_id) {
|
||||
if (glimage_sink->display) {
|
||||
if (glimage_sink->window_id
|
||||
&& glimage_sink->window_id != glimage_sink->new_window_id) {
|
||||
GstGLWindow *window = gst_gl_context_get_window (glimage_sink->context);
|
||||
|
||||
glimage_sink->window_id = glimage_sink->new_window_id;
|
||||
|
|
Loading…
Reference in a new issue