mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
typefind: fix detection of HLS playlists with alternative renditions
https://bugzilla.gnome.org/show_bug.cgi?id=699923
This commit is contained in:
parent
7ff4f8f4d4
commit
3ad2dec005
1 changed files with 2 additions and 1 deletions
|
@ -452,7 +452,8 @@ hls_type_find (GstTypeFind * tf, gpointer unused)
|
|||
|
||||
/* Search for # comment lines */
|
||||
if (c.data[0] == '#' && (memcmp (c.data, "#EXT-X-TARGETDURATION", 21) == 0
|
||||
|| memcmp (c.data, "#EXT-X-STREAM-INF", 17) == 0)) {
|
||||
|| memcmp (c.data, "#EXT-X-STREAM-INF", 17) == 0
|
||||
|| memcmp (c.data, "#EXT-X-MEDIA", 12) == 0)) {
|
||||
gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, HLS_CAPS);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue