Discussion:
[Bug 775045] New: gtkglsink: re parenting the video widget into a different toplevel does not work
(too old to reply)
"GStreamer" (GNOME Bugzilla)
2016-11-24 20:03:10 UTC
Permalink
Raw Message
https://bugzilla.gnome.org/show_bug.cgi?id=775045

Bug ID: 775045
Summary: gtkglsink: re parenting the video widget into a
different toplevel does not work
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@gmail.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---

Created attachment 340711
--> https://bugzilla.gnome.org/attachment.cgi?id=340711&action=edit
Simple test case

Reparenting the video widget from gtkglsink to a different toplevel does not
work because the GdkGLContext is different and GtkGstGLWidget uses the old one.

This is needed to implement fullscreen for example.

Ideally GtkGstGLWidget should get the context in the realize event and free it
on unrealize if possible.

Attached a simple test case that toggles fullscreen mode on key release
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2016-11-25 14:41:13 UTC
Permalink
Raw Message
https://bugzilla.gnome.org/show_bug.cgi?id=775045

Juan Pablo Ugarte <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #340711|0 |1
is obsolete| |

--- Comment #1 from Juan Pablo Ugarte <***@gmail.com> ---
Created attachment 340760
--> https://bugzilla.gnome.org/attachment.cgi?id=340760&action=edit
Test case using videotestsrc
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2016-11-25 15:13:31 UTC
Permalink
Raw Message
https://bugzilla.gnome.org/show_bug.cgi?id=775045

--- Comment #2 from Juan Pablo Ugarte <***@gmail.com> ---
Created attachment 340764
--> https://bugzilla.gnome.org/attachment.cgi?id=340764&action=edit
Small patch to use g_clear_pointer() macros
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2016-11-25 15:17:07 UTC
Permalink
Raw Message
https://bugzilla.gnome.org/show_bug.cgi?id=775045

Juan Pablo Ugarte <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #340765|none |needs-work
status| |

--- Comment #3 from Juan Pablo Ugarte <***@gmail.com> ---
Created attachment 340765
--> https://bugzilla.gnome.org/attachment.cgi?id=340765&action=edit
WIP try to initialize GL context on realize event


After the second realize I get a bunch of

(a.out:13651): Gtk-WARNING **: fb setup not supported

bacause glCheckFramebufferStatusEXT() in gtk_gl_area_draw() does not return
GL_FRAMEBUFFER_COMPLETE_EXT
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-02-16 01:55:59 UTC
Permalink
Raw Message
https://bugzilla.gnome.org/show_bug.cgi?id=775045

Cosimo Cecchi <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...