summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-10-01 23:17:06 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-10-01 23:17:06 +0200
commit82ade7b1ea5299e57f2da91fa7f244d65bd8ef7f (patch)
tree06daea279c772a3bc250468c6fd5cd054e75aff9
parentebaa714c9f3a85c77e739a94f6351ea2fa9b7518 (diff)
descriptions: Add description for H.265
-rw-r--r--gst-libs/gst/pbutils/descriptions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/pbutils/descriptions.c b/gst-libs/gst/pbutils/descriptions.c
index 4ab776f66..f82f1d214 100644
--- a/gst-libs/gst/pbutils/descriptions.c
+++ b/gst-libs/gst/pbutils/descriptions.c
@@ -307,6 +307,7 @@ static const FormatInfo formats[] = {
{"video/x-dv", "Digital Video (DV)", FLAG_VIDEO, ""},
{"video/x-h263", NULL, FLAG_VIDEO, "h263"},
{"video/x-h264", NULL, FLAG_VIDEO, "h264"},
+ {"video/x-h265", NULL, FLAG_VIDEO, "h265"},
{"video/x-indeo", NULL, FLAG_VIDEO, ""},
{"video/x-msmpeg", NULL, FLAG_VIDEO, ""},
{"video/x-pn-realvideo", NULL, FLAG_VIDEO, ""},
@@ -442,6 +443,9 @@ format_info_get_desc (const FormatInfo * info, const GstCaps * caps)
ret = "H.264";
}
return g_strdup (ret);
+ } else if (strcmp (info->type, "video/x-h265") == 0) {
+ /* TODO: Any variants? */
+ return g_strdup ("H.265");
} else if (strcmp (info->type, "video/x-divx") == 0) {
gint ver = 0;