mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
c8a24146c4
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> |
||
---|---|---|
.. | ||
gstvideoconvert.c | ||
gstvideoconvert.h | ||
gstvideoconvertscale.c | ||
gstvideoconvertscale.h | ||
gstvideoconvertscaleplugin.c | ||
gstvideoscale.c | ||
gstvideoscale.h | ||
meson.build | ||
README |
- 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