diff options
author | Wei Jia <wjia@google.com> | 2014-10-31 17:57:05 -0700 |
---|---|---|
committer | Wei Jia <wjia@google.com> | 2014-11-06 09:57:19 -0800 |
commit | fef808d42a9c94b0b5ef3c3d5fb0a090edbc42da (patch) | |
tree | 94c39efa1b2c3cc6a3b40cf2b6e5f087dd6f917b /media/libmediaplayerservice/nuplayer/RTSPSource.cpp | |
parent | 151b3f41ffcdf187580542ba0c0d3b84df16beed (diff) | |
download | frameworks_av-fef808d42a9c94b0b5ef3c3d5fb0a090edbc42da.zip frameworks_av-fef808d42a9c94b0b5ef3c3d5fb0a090edbc42da.tar.gz frameworks_av-fef808d42a9c94b0b5ef3c3d5fb0a090edbc42da.tar.bz2 |
AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
This will remove the unnecessary flush for seek.
Bug: 17511837
Change-Id: I4b7acfc71a410372f5c630afb94b6a95d09d8974
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/RTSPSource.cpp')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/RTSPSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/RTSPSource.cpp b/media/libmediaplayerservice/nuplayer/RTSPSource.cpp index ffacb8f..52ae9ee 100644 --- a/media/libmediaplayerservice/nuplayer/RTSPSource.cpp +++ b/media/libmediaplayerservice/nuplayer/RTSPSource.cpp @@ -506,7 +506,7 @@ void NuPlayer::RTSPSource::onMessageReceived(const sp<AMessage> &msg) { sp<AnotherPacketSource> source = info->mSource; if (source != NULL) { source->queueDiscontinuity( - ATSParser::DISCONTINUITY_SEEK, + ATSParser::DISCONTINUITY_TIME, NULL, true /* discard */); } |