mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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>
This commit is contained in:
parent
db134d27a0
commit
66788366a0
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue