mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-15 02:35:21 +00:00
Some pixel aspect ratios found in dash streams have very large numerators and denominators (while being close to 1:1). These values can cause integer overflow during multiplication, leading to negotiation failures. Add fallback path using gdouble when integer multiplication would overflow, trading some precision for reliability instead of failing outright. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8262> |
||
---|---|---|
.. | ||
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