diff options
author | Haihua Hu <jared.hu@nxp.com> | 2021-01-20 20:04:20 +0800 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-01-26 17:47:53 +0000 |
commit | 66788366a09694919bc1763d94d0f9be9283de03 (patch) | |
tree | 6390bbf39b8c6b34312a5f6bc26da6c20033bc08 /ext | |
parent | db134d27a078c21c249d5c6e77ba4c6bbd3b72ea (diff) | |
download | gstreamer-plugins-bad-66788366a09694919bc1763d94d0f9be9283de03.tar.gz |
dashsink: add h265 codec support
Return hvc1 for video/x-h265 mime type in mpd helper function
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1966>
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dash/gstmpdhelper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dash/gstmpdhelper.c b/ext/dash/gstmpdhelper.c index 3312f56e9..3bdbaf29b 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); } |