diff options
author | Arnaud Vrac <avrac@freebox.fr> | 2013-01-17 18:26:08 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-01-22 00:24:06 +0000 |
commit | 61976b7aa71ab55f0028a1d2fea888a072e945a0 (patch) | |
tree | 9ea21ef9182803f66cc46aebd13bbc6f87db63e1 /ext/assrender | |
parent | f198d04bf8c296c077467ec523f65c0c011144ae (diff) |
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
Diffstat (limited to 'ext/assrender')
-rw-r--r-- | ext/assrender/gstassrender.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c index 84bd10e36..6499c0e84 100644 --- a/ext/assrender/gstassrender.c +++ b/ext/assrender/gstassrender.c @@ -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); |