changed varenderD130 to va

This commit is contained in:
Michael Scherle 2024-10-30 14:47:28 +00:00
parent dacd91c122
commit acd467f057

View File

@ -970,12 +970,12 @@ static bool gst_features_lookup(const gchar *feature_name)
static gchar *find_best_hw_plugin(const gchar *codec_name)
{
static const char plugins[][16] = {"varenderD130","msdk", "vaapi"};
static const char plugins[][16] = {"va","msdk", "vaapi"};
gchar *feature_name;
int i;
for (i = 0; i < G_N_ELEMENTS(plugins); i++) {
feature_name = !codec_name ? g_strconcat(plugins[i], "vpp", NULL) :
feature_name = !codec_name ? g_strconcat(plugins[i], "postproc", NULL) :
g_strconcat(plugins[i], codec_name, "lpenc", NULL);
if (!gst_features_lookup(feature_name)) {
g_free(feature_name);