[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"); LOG_EX(LOG_Debug, "TINA_NOTIFY_SEEK_COMPLETE\n");
break; break;
} }
case TPLAYER_NOTIFY_AUDIO_FRAME:
break;
default: default:
{ {
// todo: 跟踪会不会走到该分支 // todo: 跟踪会不会走到该分支

View File

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