From e85477bb19166e742e34852b2a99b33e55565ded Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 21 Aug 2022 19:32:03 +0200 Subject: RTP: Use latest gstreamer vapi if vala version older than 0.56.1 --- plugins/rtp/src/video_widget.vala | 7 ------- 1 file changed, 7 deletions(-) (limited to 'plugins/rtp/src/video_widget.vala') diff --git a/plugins/rtp/src/video_widget.vala b/plugins/rtp/src/video_widget.vala index c22e8440..6afa0c03 100644 --- a/plugins/rtp/src/video_widget.vala +++ b/plugins/rtp/src/video_widget.vala @@ -97,14 +97,7 @@ public class Dino.Plugins.Rtp.Sink : Gst.Video.Sink { } } -#if VALA_0_56_1 public override Gst.Caps get_caps(Gst.Caps? filter) { -#if 0 - } -#endif -#else - public override Gst.Caps get_caps(Gst.Caps filter) { -#endif Gst.Caps caps = Gst.Caps.from_string("video/x-raw, format={ BGRA, ARGB, RGBA, ABGR, RGB, BGR }"); if (filter != null) { -- cgit v1.2.3-54-g00ecf