deinterlace: implement accept-caps
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 19 Oct 2015 20:50:28 +0000 (17:50 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sun, 25 Oct 2015 14:01:45 +0000 (11:01 -0300)
commit82d62b9edd04bb7f5a1fece9d803e02629ddefd1
treeadc5511adcfa0c6f46ea9494936314c6abf29a63
parentcf830a55b17cd374a5e9641514248e17261ce727
deinterlace: implement accept-caps

Implement accept-caps handler to avoid doing a full caps query
downstream to handle it.

This commit implements accept-caps as a simplification of the _getcaps
function, so it exposes the same limitations that getcaps would.
For example, not accepting renegotiation to caps with capsfeatures when
it was last configured to a caps that it has to deinterlace.
gst/deinterlace/gstdeinterlace.c