搜索
 找回密码
 立即注册

简单一步 , 微信登陆

7802ATSC设置Close Caption之后切换Aspect Ratio或Resolution的异常问题

作者:HaoQiao | 时间:2016-7-25 11:53:28 | 阅读:5075| 只看该作者
现象:使用带大量CC字幕的ATSC码流进行播放,之后到Close Caption菜单随意进行设置,退出Close Caption切换Aspect Ratio,直至出现现象:HDMI和CVBS黑屏,但都有声音输出;或者设置Close Caption菜单之后退出切换Resolution,直至出现现象:HDMI有视频无声音,CVBS音视频都没有输出。


原因:设置Close Caption菜单属性之后,退出主菜单时对CC字幕的显示属性通过底层lib设置引起,不需要通过lib设置CC属性参数,只需要在上层设置即可:
static BOOLEAN _MApp_ZUI_ACT_HandleCCSettingMenuKey(VIRTUAL_KEY_CODE key)
{
    switch (key)
    {
        ......
                               
        case VK_EXIT:
        case VK_MENU:
        {
#if ATSC_CC_ENABLE
            MApp_SetCCSetting(&inputCCSettings);
#if 0           
            stCCAttrSettings stTempAttr;
            stTempAttr.enClosedCaptionOn = inputCCSettings.enClosedCaptionOn;
            stTempAttr.enCCPotsion = inputCCSettings.enCCPotsion;
            stTempAttr.enCCFontSize = inputCCSettings.enCCFontSize;
            stTempAttr.enCCFontColor = inputCCSettings.enCCFontColor;
            stTempAttr.enCCBGColor = inputCCSettings.enCCBGColor;
            stTempAttr.enCCOpacity = inputCCSettings.enCCOpacity;

            apiCC_SetAttr((stCCAttrSettings*)&stTempAttr);
#endif
#endif
            ......
        }

        default:
            break;
    }
    return TRUE;

}


收藏
收藏0
分享
分享
点赞
点赞0
反对
反对0
回复

使用道具 举报

大神点评2

沙发#
lailiuming 发表于:2016-7-25 15:07:32
回复

使用道具 举报

板凳#
halleyhuang 发表于:2016-7-25 18:11:26
赞赞赞赞
该会员没有填写今日想说内容.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册
手机版