From: Haihua Hu Date: Wed, 20 Jan 2021 12:04:20 +0000 (+0800) Subject: dashsink: add h265 codec support X-Git-Tag: 1.19.3~507^2~860 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66788366a09694919bc1763d94d0f9be9283de03;p=platform%2Fupstream%2Fgstreamer.git dashsink: add h265 codec support Return hvc1 for video/x-h265 mime type in mpd helper function Part-of: --- diff --git a/ext/dash/gstmpdhelper.c b/ext/dash/gstmpdhelper.c index 3312f56..3bdbaf2 100644 --- a/ext/dash/gstmpdhelper.c +++ b/ext/dash/gstmpdhelper.c @@ -122,6 +122,8 @@ gst_mpd_helper_get_video_codec_from_mime (GstCaps * caps) name = gst_structure_get_name (s); if (!g_strcmp0 (name, "video/x-h264")) { return "avc1"; + } else if (!g_strcmp0 (name, "video/x-h265")) { + return "hvc1"; } else { GST_DEBUG ("No codecs for this caps name %s", name); }