diff options
author | Marvin W <git@larma.de> | 2022-08-21 19:32:03 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2022-08-21 19:33:20 +0200 |
commit | e85477bb19166e742e34852b2a99b33e55565ded (patch) | |
tree | 1e5e546e8c82939dec878703d7121b4195146455 /plugins/rtp/src | |
parent | 054d3fec1627a9ee8d84d636d578aa68d3494d19 (diff) | |
download | dino-e85477bb19166e742e34852b2a99b33e55565ded.tar.gz dino-e85477bb19166e742e34852b2a99b33e55565ded.zip |
RTP: Use latest gstreamer vapi if vala version older than 0.56.1
Diffstat (limited to 'plugins/rtp/src')
-rw-r--r-- | plugins/rtp/src/video_widget.vala | 7 |
1 files changed, 0 insertions, 7 deletions
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) { |