projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15a2aac
)
hlsdemux: Don't try decryption if an unsupported method is found
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 11 Feb 2014 17:15:45 +0000
(18:15 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 11 Feb 2014 17:21:18 +0000
(18:21 +0100)
ext/hls/m3u8.c
patch
|
blob
|
history
diff --git
a/ext/hls/m3u8.c
b/ext/hls/m3u8.c
index df9f1d8fd5e0adbfa29554bbf594619c1d8d025b..a5903b89a6b878ac2af61223a70ff93e395daac8 100644
(file)
--- a/
ext/hls/m3u8.c
+++ b/
ext/hls/m3u8.c
@@
-465,6
+465,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:")) {