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
gstvideoscale.c videoscale: Fix assertion on caps fixation 2011-03-22 15:24:01 -03:00
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