mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
assrender: proxy allocations on video pad
Forward allocation queries on video sink pad instead of discarding them. This allows the upstream elements to use the allocation parameters or pools from the downstream elements like videosink. https://bugzilla.gnome.org/show_bug.cgi?id=692012
This commit is contained in:
parent
f198d04bf8
commit
61976b7aa7
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,8 @@ gst_ass_render_init (GstAssRender * render)
|
|||
gst_pad_set_query_function (render->video_sinkpad,
|
||||
GST_DEBUG_FUNCPTR (gst_ass_render_query_video));
|
||||
|
||||
GST_PAD_SET_PROXY_ALLOCATION (render->video_sinkpad);
|
||||
|
||||
gst_element_add_pad (GST_ELEMENT (render), render->srcpad);
|
||||
gst_element_add_pad (GST_ELEMENT (render), render->video_sinkpad);
|
||||
gst_element_add_pad (GST_ELEMENT (render), render->text_sinkpad);
|
||||
|
|
Loading…
Reference in a new issue