Gst: Debug: print if gl supported

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-06-21 12:22:15 +03:00
parent 4ba10336e7
commit d57a6b4475
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582

View file

@ -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);
}