mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
74b769751d
commit
9a1c9096dc
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue