vaapipluginbase: code-style: rename goto label

The error labels have error_ prefix, but this one.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-05-20 19:15:11 +02:00
parent 3f61394cb0
commit 35f6ce964d

View file

@ -732,7 +732,7 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin,
gst_buffer_pool_config_add_option (config, gst_buffer_pool_config_add_option (config,
GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META); GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META);
if (!gst_buffer_pool_set_config (pool, config)) if (!gst_buffer_pool_set_config (pool, config))
goto config_failed; goto error_config_failed;
} }
config = gst_buffer_pool_get_config (pool); config = gst_buffer_pool_get_config (pool);
@ -755,7 +755,7 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin,
#endif #endif
if (!gst_buffer_pool_set_config (pool, config)) if (!gst_buffer_pool_set_config (pool, config))
goto config_failed; goto error_config_failed;
if (update_pool) if (update_pool)
gst_query_set_nth_allocation_pool (query, 0, pool, size, min, max); gst_query_set_nth_allocation_pool (query, 0, pool, size, min, max);
@ -783,7 +783,7 @@ error_create_pool:
GST_ERROR_OBJECT (plugin, "failed to create buffer pool"); GST_ERROR_OBJECT (plugin, "failed to create buffer pool");
return FALSE; return FALSE;
} }
config_failed: error_config_failed:
{ {
if (pool) if (pool)
gst_object_unref (pool); gst_object_unref (pool);