[ihwplayer] add tplayer ntf status handle. forbid too match logs and crash.

This commit is contained in:
lupeng 2018-09-25 16:14:41 +08:00
parent 1ad58e3164
commit 5de7eaf043
4 changed files with 8 additions and 4 deletions

View File

@ -889,7 +889,8 @@ static int callbackForTinaPlayer(void* pUserData, int msg, int param0, void* par
LOG_EX(LOG_Debug, "TINA_NOTIFY_SEEK_COMPLETE\n");
break;
}
case TPLAYER_NOTIFY_AUDIO_FRAME:
break;
default:
{
// todo: 跟踪会不会走到该分支

View File

@ -123,7 +123,8 @@ static int callbackForTinaPlayer(void* pUserData, int msg, int param0, void* par
break;
}
case TPLAYER_NOTIFY_AUDIO_FRAME:
break;
default:
{
LOG_EX(LOG_Debug, "warning: unknown callback from Tinaplayer. msg: %d\n",msg);

View File

@ -701,7 +701,8 @@ static int callbackForTinaPlayer(void* pUserData, int msg, int param0, void* par
LOG_EX(LOG_Debug, "TINA_NOTIFY_BUFFER_END\n");
break;
}
case TPLAYER_NOTIFY_AUDIO_FRAME:
break;
default:
{
LOG_EX(LOG_Debug, "warning: unknown callback from Tinaplayer. msg%d\n", msg);

View File

@ -152,7 +152,8 @@ static int callbackForTinaPlayer(void* pUserData, int msg, int param0, void* par
LOG_EX(LOG_Debug, "TINA_NOTIFY_SEEK_COMPLETE\n");
break;
}
case TPLAYER_NOTIFY_AUDIO_FRAME:
break;
default:
{
LOG_EX(LOG_Debug, "warning: unknown callback from Tinaplayer. msg: d%\n", msg);