glimagesink: Correct PAR in output caps when transforming
authorJan Schmidt <jan@centricular.com>
Fri, 23 Feb 2018 08:36:42 +0000 (19:36 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 23 Feb 2018 08:39:37 +0000 (19:39 +1100)
commit09584edc9a54ee006c7a8e166124b586f7a7d456
treec0791b4fdcc5193cecbebbb69b5ebc9efb875287
parent977a2d04fd294874933b3fb1bd58c21a22242e85
glimagesink: Correct PAR in output caps when transforming

When doing a 3D/multiview transformation and rescaling to
match the output window size, the resulting PAR may
not match the input any more and needs recalculating,
or else the GstSample reported to client-draw has the
wrong PAR.
ext/gl/gstglimagesink.c