dvdspu: set proxy allocation flag on the video sink pad

https://bugzilla.gnome.org/show_bug.cgi?id=725893
This commit is contained in:
Matthieu Bouron 2014-03-07 12:11:59 +00:00 committed by Sebastian Dröge
parent c9bb878fe5
commit a6bfde1ea6

View file

@ -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);