hlsdemux: Don't try decryption if an unsupported method is found
This commit is contained in:
parent
56faad51bb
commit
5e55bae14b
@ -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…
x
Reference in New Issue
Block a user