20 Nov 2019 - TVDB Scraper v3.2.0 is now available which reinstates scraping. TVDB are still in the process of fixing a number of bugs so there may still be further breakages. See this post. 2901570 (post)

WeTek Core (24p HD Netflix / HD Audio / Lollipop / OpenELEC / 4K / HEVC)
I'd try to comment out the lines that try to set special values for 1080p23hz and 1080p24hz display modes:
Code:
diff --git a/arch/arm/mach-meson8/hdmi_tx_hw/hdmi_tx_hw.c b/arch/arm/mach-meson8/hdmi_tx_hw/hdmi_tx_hw.c
index 15ec325..3c97ae0 100755
--- a/arch/arm/mach-meson8/hdmi_tx_hw/hdmi_tx_hw.c
+++ b/arch/arm/mach-meson8/hdmi_tx_hw/hdmi_tx_hw.c
@@ -2608,6 +2608,7 @@ static unsigned int hdmitx_get_aud_n(HDMI_Video_Codes_t vic)
static unsigned int audio_N_1080p24=0;
static void hdmitx_set_aud_n(void)
{
+/*
#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
     unsigned int audio_N_para = 6272 ;
     unsigned int audio_N_tolerance = 3;
@@ -2625,6 +2626,7 @@ static void hdmitx_set_aud_n(void)
         hdmi_wr_reg(TX_SYS1_ACR_N_2, (audio_N_tolerance<<4)|((audio_N_para>>16)&0xf)); // N[19:16]
     }
#endif
+*/
}

static int hdmitx_set_audmode(struct hdmi_tx_dev_s* hdmitx_device, Hdmi_tx_audio_para_t* audio_param)
@@ -2715,10 +2717,10 @@ static int hdmitx_set_audmode(struct hdmi_tx_dev_s* hdmitx_device, Hdmi_tx_audio
        }
     }
     if (audio_param->sample_rate == FS_48K) {
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
-        if (strncmp(vinfo->name, "1080p23hz", strlen("1080p23hz")) == 0)
-            audio_N_para=hdmitx_get_aud_n(hdmitx_device->cur_VIC);
-#endif
+//#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+//        if (strncmp(vinfo->name, "1080p23hz", strlen("1080p23hz")) == 0)
+//            audio_N_para=hdmitx_get_aud_n(hdmitx_device->cur_VIC);
+//#endif
     }
     hdmi_print(INF, AUD "set audio N para\n");

@@ -2759,10 +2761,10 @@ static int hdmitx_set_audmode(struct hdmi_tx_dev_s* hdmitx_device, Hdmi_tx_audio
         default:
             break;
     }
-    if (strncmp(vinfo->name, "1080p24hz", strlen("1080p24hz")) == 0)
-    {
-        audio_N_1080p24=audio_N_para;//for recovery audio_N from 1080p23hz
-    }
+//    if (strncmp(vinfo->name, "1080p24hz", strlen("1080p24hz")) == 0)
+//    {
+//        audio_N_1080p24=audio_N_para;//for recovery audio_N from 1080p23hz
+//    }
     hdmi_wr_reg(TX_SYS1_ACR_N_0, (audio_N_para&0xff)); // N[7:0]
     hdmi_wr_reg(TX_SYS1_ACR_N_1, (audio_N_para>>8)&0xff); // N[15:8]
     hdmi_wr_reg(TX_SYS1_ACR_N_2, (audio_N_tolerance<<4)|((audio_N_para>>16)&0xf)); // N[19:16]

Sorry cannot test this now.
Reply
 
Thread Rating:
  • 4 Vote(s) - 4.75 Average


Messages In This Thread
RE: WeTek Core 4K - by wesk05 - 2015-09-15, 08:36
RE: WeTek Core 4K - by Skank - 2015-09-15, 09:59
RE: WeTek Core 4K - by droidelec - 2015-09-18, 18:11
RE: WeTek Core 4K - by movie78 - 2015-09-18, 18:18
RE: WeTek Core 4K - by wesk05 - 2015-09-18, 19:02
RE: WeTek Core 4K - by looun - 2015-09-18, 22:58
RE: WeTek Core 4K - by wesk05 - 2015-09-18, 23:39
RE: WeTek Core 4K - by BORIStheBLADE - 2015-09-19, 00:56
RE: WeTek Core 4K - by SilverBlade - 2015-09-19, 02:43
RE: WeTek Core 4K - by noggin - 2015-09-19, 11:13
RE: WeTek Core 4K - by wesk05 - 2015-09-19, 20:13
RE: WeTek Core 4K - by movie78 - 2015-09-19, 23:21
RE: WeTek Core 4K - by wrxtasy - 2015-10-05, 06:48
RE: WeTek Core 4K - by tomvs123 - 2015-10-09, 23:15
RE: WeTek Core 4K - by wrxtasy - 2015-10-10, 02:55
RE: WeTek Core 4K - by tomvs123 - 2015-10-10, 04:19
RE: WeTek Core 4K - by noggin - 2015-10-10, 10:15
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 11:27
RE: WeTek Core 4K - by couto27 - 2015-10-13, 12:40
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 14:33
WeTek Core 4K - by tredman - 2015-10-13, 13:57
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 14:02
RE: WeTek Core 4K - by tomvs123 - 2015-10-13, 14:04
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 15:20
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 15:54
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 17:00
RE: WeTek Core 4K - by gredawarha - 2015-10-13, 15:06
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 15:57
RE: WeTek Core 4K - by vineet381 - 2015-10-13, 15:23
RE: WeTek Core 4K - by tredman - 2015-10-13, 15:27
RE: WeTek Core 4K - by gredawarha - 2015-10-13, 15:29
RE: WeTek Core 4K - by vineet381 - 2015-10-13, 15:44
RE: WeTek Core 4K - by gredawarha - 2015-10-13, 16:53
RE: WeTek Core 4K - by Atinkler - 2015-10-13, 17:04
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 17:38
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 17:06
RE: WeTek Core 4K - by zag - 2015-10-13, 17:06
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 17:10
RE: WeTek Core 4K - by Atinkler - 2015-10-13, 17:43
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 17:56
RE: WeTek Core 4K - by Atinkler - 2015-10-13, 18:06
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 17:44
RE: WeTek Core 4K - by droidelec - 2015-10-13, 17:50
RE: WeTek Core 4K - by wrxtasy - 2015-10-15, 05:56
RE: WeTek Core 4K - by mwake - 2015-11-25, 14:56
RE: WeTek Core (24p HD Netflix / Android Lollipop / OpenELEC / 4K HEVC) - by codesnake - 2016-02-10, 01:05


Logout Mark Read Team Forum Stats Members Help
WeTek Core (24p HD Netflix / HD Audio / Lollipop / OpenELEC / 4K / HEVC)4.754