videodecoder: implement caps query
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 8 Dec 2014 19:33:33 +0000 (16:33 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 17 Dec 2014 22:15:23 +0000 (19:15 -0300)
commitf24075887f9d876af59f27a389f2e8c7d6c957ca
tree06cd1d678ca46b9637e2e9ff70165b5d21c2b4f1
parentf78a3d9ef2ac1fe1e450eca2e110154a32fe3285
videodecoder: implement caps query

Refactor the encoder's caps query proxying function to a common place
and use it in the videodecoder to proxy downstream restrictions.

The new function is private to the gstvideo lib.

https://bugzilla.gnome.org/show_bug.cgi?id=741263
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/gstvideodecoder.c
gst-libs/gst/video/gstvideoencoder.c
gst-libs/gst/video/gstvideoutilsprivate.c [new file with mode: 0644]
gst-libs/gst/video/gstvideoutilsprivate.h [new file with mode: 0644]
tests/check/libs/videodecoder.c