summaryrefslogtreecommitdiff
path: root/gst/dvdspu
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@collabora.com>2014-03-07 12:11:59 +0000
committerSebastian Dröge <sebastian@centricular.com>2014-03-08 15:18:19 +0100
commita6bfde1ea62676c9504009b2e5d730657bc75a7e (patch)
tree6d5a4590a0445f666ea90eb22ec8b16969d29039 /gst/dvdspu
parentc9bb878fe5982350a9101ce0642097cb61b99ffa (diff)
dvdspu: set proxy allocation flag on the video sink pad
https://bugzilla.gnome.org/show_bug.cgi?id=725893
Diffstat (limited to 'gst/dvdspu')
-rw-r--r--gst/dvdspu/gstdvdspu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c
index 9f1288790..2c270fd9b 100644
--- a/gst/dvdspu/gstdvdspu.c
+++ b/gst/dvdspu/gstdvdspu.c
@@ -165,6 +165,8 @@ gst_dvd_spu_init (GstDVDSpu * dvdspu)
gst_pad_set_chain_function (dvdspu->subpic_sinkpad, gst_dvd_spu_subpic_chain);
gst_pad_set_event_function (dvdspu->subpic_sinkpad, gst_dvd_spu_subpic_event);
+ GST_PAD_SET_PROXY_ALLOCATION (dvdspu->videosinkpad);
+
gst_element_add_pad (GST_ELEMENT (dvdspu), dvdspu->videosinkpad);
gst_element_add_pad (GST_ELEMENT (dvdspu), dvdspu->subpic_sinkpad);
gst_element_add_pad (GST_ELEMENT (dvdspu), dvdspu->srcpad);