commit | b86e68f834b7040518b99d1d0245d5f2e5cb9c86 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Aug 01 13:46:53 2014 -0700 |
committer | Chong Zhang <chz@google.com> | Wed Sep 03 22:31:15 2014 -0700 |
tree | 5a908948804024513f7c3ed3d1d8bf07c653bd82 | |
parent | 9007305003e689362749a264af2eafea80eb12a0 [diff] [blame] |
Split CEA-608 Closed caption into 4 tracks CC1~CC4 Bug: 16463078 Change-Id: Ib3073090934232016e535fbb8fa56cdf9d7ab6eb
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp index ae22123..bfe2710 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp +++ b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp
@@ -1540,6 +1540,10 @@ ALOGE_IF(mFlushingVideo != NONE, "video flushDecoder() is called in state %d", mFlushingVideo); mFlushingVideo = newStatus; + + if (mCCDecoder != NULL) { + mCCDecoder->flush(); + } } }