hlsdemux: Don't try decryption if an unsupported method is found

This commit is contained in:
Sebastian Dröge 2014-02-11 18:15:45 +01:00
parent 56faad51bb
commit 5e55bae14b

View file

@ -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:")) {