mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
hlsdemux: Don't try decryption if an unsupported method is found
This commit is contained in:
parent
56faad51bb
commit
5e55bae14b
1 changed files with 5 additions and 0 deletions
|
@ -464,6 +464,11 @@ gst_m3u8_update (GstM3U8 * self, gchar * data, gboolean * updated)
|
|||
continue;
|
||||
}
|
||||
have_iv = TRUE;
|
||||
} else if (g_str_equal (a, "METHOD")) {
|
||||
if (!g_str_equal (v, "AES-128")) {
|
||||
GST_WARNING ("Encryption method %s not supported", v);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (g_str_has_prefix (data, "#EXTINF:")) {
|
||||
|
|
Loading…
Reference in a new issue