projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b7697
)
avviddec: rename hevc decoder element to h265 for consistency
author
Thijs Vermeir
<thijsvermeir@gmail.com>
Thu, 20 Feb 2014 19:39:29 +0000
(20:39 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sat, 22 Feb 2014 15:10:49 +0000
(16:10 +0100)
We use h265 for the parser, typefinder, caps, etc. everywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=724823
ext/libav/gstavviddec.c
patch
|
blob
|
history
diff --git
a/ext/libav/gstavviddec.c
b/ext/libav/gstavviddec.c
index 01ca9dec66ee11e80ab780fc90a025913ce61946..b3ba5c090d2020c3d64837b6b772a785d46fd0f1 100644
(file)
--- 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);