summaryrefslogtreecommitdiff
path: root/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-28 21:39:12 +0200
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 11:32:00 +0200
commit093fcacc20a9a84a12e59f027a0f0921ff02d304 (patch)
treebf1b88750371300b47ae1713a88f909a63d41280 /sys/vdpau/gstvdp/gstvdpvideosrcpad.c
parent5626857ac4884c1c0c50910851ce8437a36e89d8 (diff)
downloadgstreamer-plugins-bad-093fcacc20a9a84a12e59f027a0f0921ff02d304.tar.gz
vdpau: remove GstVdpOutputSrcPad "template-caps" property
instead we do as GstVdpVideoSrcPad and use the "templ" property of GstPad, which enable us to change the signature of gst_vdp_output_src_pad_new to match gst_pad_new_from_template
Diffstat (limited to 'sys/vdpau/gstvdp/gstvdpvideosrcpad.c')
-rw-r--r--sys/vdpau/gstvdp/gstvdpvideosrcpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vdpau/gstvdp/gstvdpvideosrcpad.c b/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
index d2cc9bed8..db2f7d9f7 100644
--- a/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
+++ b/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
@@ -238,7 +238,7 @@ gst_vdp_video_src_pad_getcaps (GstPad * pad)
const GstCaps *templ_caps;
if (vdp_pad->caps)
- return gst_caps_copy (vdp_pad->caps);
+ return gst_caps_ref (vdp_pad->caps);
else if ((templ_caps = gst_pad_get_pad_template_caps (pad)))
return gst_caps_copy (templ_caps);