From b1ad123595cf6765b2bb778b65d8a4253fd61d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 23 May 2024 16:15:52 +0300 Subject: [PATCH] gtk4: Fix Python example in the non-GL code path --- video/gtk4/examples/gtksink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/gtk4/examples/gtksink.py b/video/gtk4/examples/gtksink.py index d1d5b66f..5517e47c 100644 --- a/video/gtk4/examples/gtksink.py +++ b/video/gtk4/examples/gtksink.py @@ -35,7 +35,7 @@ def on_activate(app): sink.add(gtksink) convert.link(gtksink) - sink.add_pad(Gst.GhostPad.new('sink', gtksink.get_static_pad('sink'))) + sink.add_pad(Gst.GhostPad.new('sink', convert.get_static_pad('sink'))) pipeline.add(src) pipeline.add(overlay)