gstreamer/subprojects/gst-plugins-base/gst/videoconvertscale
Mathieu Duponchelle 31c1e586c3 videoconvert: fix passthrough on equivalent transfer
When the input info and output info are equal, except for the
transfer functions that are *not* equivalent, we need to set up
a converter as we won't be passthrough.

Fixes an assertion in that case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2929>
2022-08-23 16:02:31 +02:00
..
gstvideoconvert.c videoconvert,videoscale: Do conversion in videoconvert and scaling in videoscale 2022-08-16 12:08:36 +00:00
gstvideoconvert.h Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
gstvideoconvertscale.c videoconvert: fix passthrough on equivalent transfer 2022-08-23 16:02:31 +02:00
gstvideoconvertscale.h videoconvert,videoscale: Do conversion in videoconvert and scaling in videoscale 2022-08-16 12:08:36 +00:00
gstvideoconvertscaleplugin.c Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
gstvideoscale.c videoconvert,videoscale: Do conversion in videoconvert and scaling in videoscale 2022-08-16 12:08:36 +00: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