gstreamer/subprojects/gst-plugins-base/gst/videoconvertscale
Thibault Saunier f3fd4d7e90 videoconvertscale: Don't claim we can support any kind of memory
Since d0133a2d11 "videoconvert: Allow
passthrough for ANY caps features" videoconvert will always claim that
it supports any kind of memory which is true in very specific case (when
it is running in passthrough mode). To get elements that autoplug
converters depending on the caps running in the pipeline (like
autovideoconvert), we need to have converters no lie about what they can
do when queried `accept_caps` or `query_caps`.

This still accepts any caps feature as before but it introduces
a restriction in the way we handle memory capsfeatures.

We keep previous behaviour in videoconvert and videoscale.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/898>
2022-04-20 17:03:21 -04:00
..
gstvideoconvert.c videoconvertscale: Don't claim we can support any kind of memory 2022-04-20 17:03:21 -04:00
gstvideoconvert.h Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
gstvideoconvertscale.c videoconvertscale: Don't claim we can support any kind of memory 2022-04-20 17:03:21 -04:00
gstvideoconvertscale.h videoconvertscale: Don't claim we can support any kind of memory 2022-04-20 17:03:21 -04:00
gstvideoconvertscaleplugin.c Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
gstvideoscale.c videoconvertscale: Don't claim we can support any kind of memory 2022-04-20 17:03:21 -04:00
gstvideoscale.h Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
meson.build Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
README Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00

- test different strides using
gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoconvertscale ! video/x-raw,width=328,height=240 ! xvimagesink
gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoconvertscale ! video/x-raw,width=324,height=240 ! xvimagesink
gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoconvertscale ! video/x-raw,width=322,height=240 ! xvimagesink
gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoconvertscale ! video/x-raw,width=321,height=240 ! xvimagesink