gstreamer/subprojects/gst-plugins-base/gst/videoconvertscale
James Cowgill c8a24146c4 videoscale: Don't copy scaled metas
Returning TRUE from the `transform_meta` function tells
GstBaseTransform to copy the meta into the new buffer. If videoscale
has already transformed a meta by scaling it, it should always return
FALSE to avoid duplicating the meta.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1630>
2022-04-22 13:00:01 +00:00
..
gstvideoconvert.c videoconvertscale: Add properties to disable scaling/converting in videoconvert/videoscale 2022-04-20 17:09:20 -04:00
gstvideoconvert.h Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
gstvideoconvertscale.c videoscale: Don't copy scaled metas 2022-04-22 13:00:01 +00:00
gstvideoconvertscale.h videoconvertscale: Add properties to disable scaling/converting in videoconvert/videoscale 2022-04-20 17:09:20 -04:00
gstvideoconvertscaleplugin.c Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00
gstvideoscale.c videoconvertscale: Add properties to disable scaling/converting in videoconvert/videoscale 2022-04-20 17:09:20 -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