Loading media/libstagefright/MediaCodecSource.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -189,9 +189,6 @@ void MediaCodecSource::Puller::stop() { queue->flush(); // flush any unprocessed pulled buffers } if (interrupt) { interruptSource(); } } void MediaCodecSource::Puller::interruptSource() { Loading Loading @@ -972,12 +969,13 @@ void MediaCodecSource::onMessageReceived(const sp<AMessage> &msg) { break; } signalEOS(); if (!(mFlags & FLAG_USE_SURFACE_INPUT)) { ALOGV("source (%s) stopping", mIsVideo ? "video" : "audio"); mPuller->interruptSource(); ALOGV("source (%s) stopped", mIsVideo ? "video" : "audio"); } signalEOS(); } case kWhatPause: Loading Loading
media/libstagefright/MediaCodecSource.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -189,9 +189,6 @@ void MediaCodecSource::Puller::stop() { queue->flush(); // flush any unprocessed pulled buffers } if (interrupt) { interruptSource(); } } void MediaCodecSource::Puller::interruptSource() { Loading Loading @@ -972,12 +969,13 @@ void MediaCodecSource::onMessageReceived(const sp<AMessage> &msg) { break; } signalEOS(); if (!(mFlags & FLAG_USE_SURFACE_INPUT)) { ALOGV("source (%s) stopping", mIsVideo ? "video" : "audio"); mPuller->interruptSource(); ALOGV("source (%s) stopped", mIsVideo ? "video" : "audio"); } signalEOS(); } case kWhatPause: Loading