video-converter: only make a scaler when we are scaling
authorWim Taymans <wtaymans@redhat.com>
Wed, 25 Feb 2015 15:50:02 +0000 (16:50 +0100)
committerWim Taymans <wtaymans@redhat.com>
Wed, 25 Feb 2015 15:50:02 +0000 (16:50 +0100)
commite1715f7728da0ea7ccb1cf51adf3cb6ec54f4a54
tree4d2e82648eb6aafa2fed76b80951d6d150b311cb
parent330fb44a6fa24c34b9da5decc68f98e0efc3cf5b
video-converter: only make a scaler when we are scaling

Only make a scaler when we are actually doing any scaling. Without
scalers, the scale function will simply do a copy.
gst-libs/gst/video/video-converter.c