Gst: Debug: print if gl supported
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
4ba10336e7
commit
d57a6b4475
1 changed files with 4 additions and 1 deletions
|
@ -193,7 +193,10 @@ public class EyeNeko.Gstreamer : Object {
|
|||
});
|
||||
|
||||
viewfinder.bind_property ("paintable", this, "viewfinder-paintable", GLib.BindingFlags.SYNC_CREATE);
|
||||
|
||||
Gdk.GLContext context;
|
||||
viewfinder_paintable.get ("gl-context", out context);
|
||||
if (context != null)
|
||||
message ("GL supported");
|
||||
camerabin.bus.add_watch (0, bus_callback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue