vaapisink: fix get_caps() implementation for GStreamer 1.0.
authorGuangxin.Xu <Guangxin.Xu@intel.com>
Wed, 31 Jul 2013 08:49:20 +0000 (16:49 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 26 Aug 2013 10:56:06 +0000 (12:56 +0200)
commit92a124f3065a4f05daf06c100d699b72757983bd
tree39d3dd0e648aee65a9a2edeee9f4ea04dac9364c
parentd16db5896853345d65a3db8120de4663006079a3
vaapisink: fix get_caps() implementation for GStreamer 1.0.

Fix GstBaseSink::get_caps() implementation for GStreamer 1.0.X builds
by honouring the filter caps argument. More precisely, this fixes the
following pipeline: gst-launch-1.0 videotestsrc ! vaapisink

https://bugzilla.gnome.org/show_bug.cgi?id=705192

Signed-off-by: Guangxin.Xu <Guangxin.Xu@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapisink.c