gstreamer/gst/videoscale
Thiago Santos 91ed9290b8 videoscale: Fix assertion on caps fixation
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
2011-03-22 15:24:01 -03:00
..
.gitignore Initial revision 2001-12-22 23:27:17 +00:00
gstvideoscale.c videoscale: Fix assertion on caps fixation 2011-03-22 15:24:01 -03:00
gstvideoscale.h videoscale: Add support for adding black borders to keep the DAR if necessary 2010-07-18 15:44:14 +02:00
gstvideoscaleorc-dist.c videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
gstvideoscaleorc-dist.h videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
gstvideoscaleorc.orc videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
Makefile.am videoscale: Add support for adding black borders to keep the DAR if necessary 2010-07-18 15:44:14 +02:00
README add _get_size function with stride, fixes YUV conversions 2004-07-27 15:56:55 +00:00
videoscale.vcproj more working plugins 2004-07-27 21:41:30 +00:00
vs_4tap.c videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
vs_4tap.h videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
vs_fill_borders.c videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
vs_fill_borders.h videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
vs_image.c videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
vs_image.h videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
vs_scanline.c videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00
vs_scanline.h videoscale: Add 16-bit-channel support 2011-02-20 12:04:02 -08:00

- 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