summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2014-02-20 19:39:29 (GMT)
committerSebastian Dröge <sebastian@centricular.com>2014-02-22 15:10:49 (GMT)
commit9a1c9096dc6182c826bbc9a6806f2258f34d947c (patch)
treecda534e8f21d402971e8cad4ab89c1994bdbe30a
parent74b769751d09fceb0417242c250ab52d0689e567 (diff)
downloadgst-libav-9a1c9096dc6182c826bbc9a6806f2258f34d947c.tar.gz
gst-libav-9a1c9096dc6182c826bbc9a6806f2258f34d947c.tar.xz
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
-rw-r--r--ext/libav/gstavviddec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c
index 01ca9de..b3ba5c0 100644
--- a/ext/libav/gstavviddec.c
+++ b/ext/libav/gstavviddec.c
@@ -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);