mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
91ed9290b8
When fixating caps, from_par should always be initialized with a fixed value. In case the fixation is from src to sink pad it was setting the from par (srcpad par) to a fraction range, this patch initializes it to 1/1, based on the assumption that missing PAR is 1/1. https://bugzilla.gnome.org/show_bug.cgi?id=641952 |
||
---|---|---|
.. | ||
.gitignore | ||
gstvideoscale.c | ||
gstvideoscale.h | ||
gstvideoscaleorc-dist.c | ||
gstvideoscaleorc-dist.h | ||
gstvideoscaleorc.orc | ||
Makefile.am | ||
README | ||
videoscale.vcproj | ||
vs_4tap.c | ||
vs_4tap.h | ||
vs_fill_borders.c | ||
vs_fill_borders.h | ||
vs_image.c | ||
vs_image.h | ||
vs_scanline.c | ||
vs_scanline.h |
- test different strides using gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=328,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=324,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=322,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=321,height=240 ! xvimagesink