mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
vaapidecode: remove change_state() vmethod
Since the driver checkup is done at registering, there is no need to do it when changing the element state from NULL to READY. This patch remove this vmethod from vaapidecode.
This commit is contained in:
parent
c60312c78f
commit
4a9b204652
1 changed files with 1 additions and 2 deletions
|
@ -160,7 +160,7 @@ static const GstVaapiDecoderMap vaapi_decode_map[] = {
|
|||
};
|
||||
|
||||
static GstElementClass *parent_class = NULL;
|
||||
GST_VAAPI_PLUGIN_BASE_DEFINE_VMETHODS (parent_class);
|
||||
GST_VAAPI_PLUGIN_BASE_DEFINE_SET_CONTEXT (parent_class);
|
||||
|
||||
static gboolean gst_vaapidecode_update_sink_caps (GstVaapiDecode * decode,
|
||||
GstCaps * caps);
|
||||
|
@ -1306,7 +1306,6 @@ gst_vaapidecode_class_init (GstVaapiDecodeClass * klass)
|
|||
}
|
||||
|
||||
element_class->set_context = gst_vaapi_base_set_context;
|
||||
element_class->change_state = GST_DEBUG_FUNCPTR (gst_vaapi_base_change_state);
|
||||
gst_element_class_set_static_metadata (element_class, longname,
|
||||
"Codec/Decoder/Video", GST_PLUGIN_DESC,
|
||||
"Gwenole Beauchesne <gwenole.beauchesne@intel.com>, "
|
||||
|
|
Loading…
Reference in a new issue