amlqtdmx: CF2 refine cipher mode for cbc1 [1/1]
PD#SWPL-189734
Problem:
refine cipher mode for cbc1
Solution:
The problem in wlcdmi has been fixed
and the previous compatibility logic has been removed
Verify:
(detail info)
Change-Id: I4b6858bb44a33b7f9eab7ea8154bdc7b003ed989
Signed-off-by: xuesong.jiang <xuesong.jiang@amlogic.com>
diff --git a/aml-qtdemux/aml-qtdemux.c b/aml-qtdemux/aml-qtdemux.c
index dc7837e..192471d 100644
--- a/aml-qtdemux/aml-qtdemux.c
+++ b/aml-qtdemux/aml-qtdemux.c
@@ -8767,8 +8767,7 @@
gst_structure_set (s, "cipher-mode", G_TYPE_STRING, "cens", NULL);
else if (stream->protection_scheme_type == AML_FOURCC_cbc1)
{
- //TODO:Temporarily configure to cbcs mode, adapt to wlcdmi. After wlcdmi is optimized, reset back to cbc1
- gst_structure_set (s, "cipher-mode", G_TYPE_STRING, "cbcs", NULL);
+ gst_structure_set (s, "cipher-mode", G_TYPE_STRING, "cbc1", NULL);
}
else if (stream->protection_scheme_type == AML_FOURCC_cbcs)
gst_structure_set (s, "cipher-mode", G_TYPE_STRING, "cbcs", NULL);