glupload: fix tests and check for the new RECONFIGURE behaviour
authorAlessandro Decina <alessandro.d@gmail.com>
Mon, 29 Aug 2016 05:43:10 +0000 (15:43 +1000)
committerAlessandro Decina <alessandro.d@gmail.com>
Mon, 29 Aug 2016 06:06:06 +0000 (16:06 +1000)
commita7dccec0fff373b0fb86374dd0026126ff7bbaa7
treed1117e05e6984cca0e3ed7853096d912642e2e36
parent2fb716409c928583ab2e8384eca261d0f45822dc
glupload: fix tests and check for the new RECONFIGURE behaviour

The tests were broken since 91fea30, which changed glupload to return
GST_GL_UPLOAD_RECONFIGURE if the texture target in the input buffers doesn't
match the texture-target configured in the output caps.

This commit fixes that and adds more checks for the new behaviour.
gst-libs/gst/gl/gstglupload.c
tests/check/libs/gstglupload.c