summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/AAMRAssembler.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-08-27 13:29:08 -0700
committerAndreas Huber <andih@google.com>2010-08-27 13:29:08 -0700
commit8d342970108926c4ea355c90d26a2a353ec0fd47 (patch)
tree6ff39167defd677f8a31b3d8887481ad65a88b87 /media/libstagefright/rtsp/AAMRAssembler.cpp
parentcc6adf524c1bb3bfaa5be464b50b8bcca899761c (diff)
downloadframeworks_av-8d342970108926c4ea355c90d26a2a353ec0fd47.zip
frameworks_av-8d342970108926c4ea355c90d26a2a353ec0fd47.tar.gz
frameworks_av-8d342970108926c4ea355c90d26a2a353ec0fd47.tar.bz2
Better support for rtsp (normal play-)time display. Better seek support, timeout if no packets arrive for too long.
Change-Id: Id491541a6ae501604cda815f8e961a3bfe26db7d related-to-bug: 2556656
Diffstat (limited to 'media/libstagefright/rtsp/AAMRAssembler.cpp')
-rw-r--r--media/libstagefright/rtsp/AAMRAssembler.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/media/libstagefright/rtsp/AAMRAssembler.cpp b/media/libstagefright/rtsp/AAMRAssembler.cpp
index c56578b..154ba31 100644
--- a/media/libstagefright/rtsp/AAMRAssembler.cpp
+++ b/media/libstagefright/rtsp/AAMRAssembler.cpp
@@ -178,12 +178,8 @@ ARTPAssembler::AssemblyStatus AAMRAssembler::addPacket(
}
}
- uint64_t ntpTime;
- CHECK(buffer->meta()->findInt64(
- "ntp-time", (int64_t *)&ntpTime));
-
sp<ABuffer> accessUnit = new ABuffer(totalSize);
- accessUnit->meta()->setInt64("ntp-time", ntpTime);
+ CopyTimes(accessUnit, buffer);
size_t dstOffset = 0;
for (size_t i = 0; i < tableOfContents.size(); ++i) {