mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
vaapidecode: Use GST_DEBUG_FUNCPTR for gst_vaapidecode_query()
Hence the function name is shown in the gst-inspect-1.0 information rather than the memory address. https://bugzilla.gnome.org/show_bug.cgi?id=744330
This commit is contained in:
parent
ee0855dc65
commit
ce4d3355e1
1 changed files with 2 additions and 2 deletions
|
@ -1032,12 +1032,12 @@ gst_vaapidecode_init(GstVaapiDecode *decode)
|
|||
|
||||
/* Pad through which data comes in to the element */
|
||||
pad = GST_VAAPI_PLUGIN_BASE_SINK_PAD(decode);
|
||||
gst_pad_set_query_function(pad, gst_vaapidecode_query);
|
||||
gst_pad_set_query_function(pad, GST_DEBUG_FUNCPTR(gst_vaapidecode_query));
|
||||
#if !GST_CHECK_VERSION(1,0,0)
|
||||
gst_pad_set_getcaps_function(pad, gst_vaapidecode_get_caps);
|
||||
#endif
|
||||
|
||||
/* Pad through which data goes out of the element */
|
||||
pad = GST_VAAPI_PLUGIN_BASE_SRC_PAD(decode);
|
||||
gst_pad_set_query_function(pad, gst_vaapidecode_query);
|
||||
gst_pad_set_query_function(pad, GST_DEBUG_FUNCPTR(gst_vaapidecode_query));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue