avviddec: rename hevc decoder element to h265 for consistency

We use h265 for the parser, typefinder, caps, etc. everywhere.

https://bugzilla.gnome.org/show_bug.cgi?id=724823
This commit is contained in:
Thijs Vermeir 2014-02-20 20:39:29 +01:00 committed by Sebastian Dröge
parent 74b769751d
commit 9a1c9096dc

View file

@ -1977,7 +1977,11 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
}
/* construct the type */
plugin_name = g_strdup ((gchar *) in_plugin->name);
if (!strcmp (in_plugin->name, "hevc")) {
plugin_name = g_strdup ("h265");
} else {
plugin_name = g_strdup ((gchar *) in_plugin->name);
}
g_strdelimit (plugin_name, NULL, '_');
type_name = g_strdup_printf ("avdec_%s", plugin_name);
g_free (plugin_name);