videoscale: Correct DAR and border calculations
authorJan Schole <jan581984@web.de>
Wed, 20 Mar 2013 18:34:06 +0000 (19:34 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 21 Mar 2013 10:13:49 +0000 (11:13 +0100)
commit8e791d52aa7b069923faa787b7d4ad6e67b5eec2
tree9938f7b1ab5bb4ab0232b72f8095ea204ad27bef
parent2f2e3676b1ad4dec53b25553c12b005f0cee6ca0
videoscale: Correct DAR and border calculations

changed: gst_video_scale_set_info in gst/videoscale/gstvideoscale.c
DAR on sink side now calculated with PAR on sink side
ratio of output width/height now calculated with inverse PAR
additional condition that borders are 0:0 for passthrough mode

https://bugzilla.gnome.org/show_bug.cgi?id=696019
gst/videoscale/gstvideoscale.c