opencvvideofilter: Don't parse the caps twice
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 30 Nov 2016 02:09:14 +0000 (21:09 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 30 Nov 2016 02:21:49 +0000 (21:21 -0500)
commitcfc420bf4d36076479a22b045fd892e6587f1b22
tree39292df98c986f93b751f23deef73e43e2945b91
parented3877655da34c47cce04a65d9af2bde30300420
opencvvideofilter: Don't parse the caps twice

The GstVideoFilter already provide caps parsed into GstVideoInfo. Avoid
doing that twice by splitting the helper.

https://bugzilla.gnome.org/show_bug.cgi?id=775288
gst-libs/gst/opencv/gstopencvutils.cpp
gst-libs/gst/opencv/gstopencvutils.h
gst-libs/gst/opencv/gstopencvvideofilter.cpp