libdvr: Parental control channel has audio [1/1]

PD#SWPL-105639
PD#TV-69438

Problem:
Unexpect audio on parental control channels.

Solution:
Disable audio mute/unmute control in libdvr in case of vendor Amazon.

Verify:
Locally tested OK on t5d.

Signed-off-by: Wentao.MA <wentao.ma@amlogic.com>
Change-Id: I19dc7ac5d36646a5e5d2963799a3a76d4dd4975e
(cherry picked from commit 991c7dde5e421bda72fee72c6d8a86433aaf8d7e)
diff --git a/include/dvr_playback.h b/include/dvr_playback.h
index 0ed2ae3..38fdb01 100644
--- a/include/dvr_playback.h
+++ b/include/dvr_playback.h
@@ -170,7 +170,7 @@
 
 /**\brief DVR playback vendor*/
 typedef enum {
-  DVR_PLAYBACK_VENDOR_DEF    ,               /**< default*/
+  DVR_PLAYBACK_VENDOR_DEF,                    /**< default, for Irdeto*/
   DVR_PLAYBACK_VENDOR_AML,                    /**< aml*/
   DVR_PLAYBACK_VENDOR_AMAZON                  /**< amazon*/
 } DVR_PlaybackVendor_t;
diff --git a/src/dvr_playback.c b/src/dvr_playback.c
index b50f8aa..e03dc5f 100644
--- a/src/dvr_playback.c
+++ b/src/dvr_playback.c
@@ -922,8 +922,8 @@
     DVR_PB_INFO("player is NULL");
     return DVR_FAILURE;
   }
-  if (player->vendor == DVR_PLAYBACK_VENDOR_AML) {
-    DVR_PB_INFO("vendor is amlogic. no used segment flag to hide or show av");
+  if (player->vendor != DVR_PLAYBACK_VENDOR_DEF) {
+    DVR_PB_INFO("In case of vendor Amlogic/Amazon, do not control AV display");
     return DVR_SUCCESS;
   }
   DVR_PB_INFO("flag[0x%x]id[%lld]last[0x%x][%llu]",
@@ -1993,8 +1993,8 @@
     DVR_PB_INFO("player is NULL");
     return DVR_FAILURE;
   }
-  if (player->vendor == DVR_PLAYBACK_VENDOR_AML) {
-    DVR_PB_INFO("vendor is amlogic. not  hide or show av and update segment");
+  if (player->vendor != DVR_PLAYBACK_VENDOR_DEF) {
+    DVR_PB_INFO("In case of vendor Amlogic/Amazon, do not control AV display");
     return DVR_SUCCESS;
   }