gst-plugins-rs/video
Jordan Petridis e1cca97728 video/gtk4: Move the dmabuf cfg to the correct bracket level
This was defined one bracket above, which was causing the
gst-gl codepath below to also be disabled when there was
no dmabuf feature enabled.

This was also resulting in the following warning as
we were never creating the MappedFrame::GL vartiant due to this

```
warning: unused variable: `wrapped_context`
   --> video/gtk4/src/sink/frame.rs:541:85
    |
541 | ...", feature = "gst-gl"))] wrapped_context: Option<
    |                             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapped_context`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: variant `GL` is never constructed
  --> video/gtk4/src/sink/frame.rs:80:5
   |
74 | enum MappedFrame {
   |      ----------- variant in this enum
...
```

Move the cfg to the appropriate place where it encaplsulates only
the dmabuf related code.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1686>
2024-08-05 09:40:36 +01:00
..
cdg Drop direct muldiv dependency 2024-02-05 15:34:31 +01:00
closedcaption Fix various new clippy 1.79 warnings 2024-06-18 10:01:13 +00:00
dav1d Fix various new clippy 1.79 warnings 2024-06-18 10:01:13 +00:00
ffv1 Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
gif Fix various new clippy 1.79 warnings 2024-06-18 10:01:13 +00:00
gtk4 video/gtk4: Move the dmabuf cfg to the correct bracket level 2024-08-05 09:40:36 +01:00
hsv Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
png Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
rav1e rav1enc: document bitrate property unit 2024-07-12 23:54:15 +02:00
videofx Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
webp Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00