v4l2sink: check for caps in slow-path subbuffer check
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Thu, 19 Jan 2012 16:47:10 +0000 (17:47 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Thu, 19 Jan 2012 16:47:10 +0000 (17:47 +0100)
commit630b7c3779e15a094f51e8e15169a6008c861f91
treea240fd999d0bd5332c69720d6dcfe3b23e6823a3
parent06a8e89623430bfa8a52c0f40a57b9135235276f
v4l2sink: check for caps in slow-path subbuffer check

When checking if we can avoid copying because we're handed a sub buffer, check
that the parent and child buffers have the same caps too.
sys/v4l2/gstv4l2sink.c