gtk4: Fix Python example in the non-GL code path

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1582>
This commit is contained in:
Sebastian Dröge 2024-05-23 16:15:52 +03:00
parent 9b166691ad
commit 64949458ef

View file

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