mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
Add missing video context queries.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
2c5f034c66
commit
cbf81d7d51
2 changed files with 2 additions and 0 deletions
|
@ -352,6 +352,7 @@ gst_vaapiconvert_init(GstVaapiConvert *convert, GstVaapiConvertClass *klass)
|
|||
sinkpad,
|
||||
gst_vaapiconvert_sinkpad_buffer_alloc
|
||||
);
|
||||
gst_pad_set_query_function(sinkpad, gst_vaapiconvert_query);
|
||||
g_object_unref(sinkpad);
|
||||
|
||||
/* Override query on src pad */
|
||||
|
|
|
@ -687,6 +687,7 @@ gst_vaapidecode_init(GstVaapiDecode *decode, GstVaapiDecodeClass *klass)
|
|||
gst_pad_set_setcaps_function(decode->sinkpad, gst_vaapidecode_set_caps);
|
||||
gst_pad_set_chain_function(decode->sinkpad, gst_vaapidecode_chain);
|
||||
gst_pad_set_event_function(decode->sinkpad, gst_vaapidecode_sink_event);
|
||||
gst_pad_set_query_function(decode->sinkpad, gst_vaapidecode_query);
|
||||
gst_element_add_pad(GST_ELEMENT(decode), decode->sinkpad);
|
||||
|
||||
/* Pad through which data goes out of the element */
|
||||
|
|
Loading…
Reference in a new issue