summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPAssembler.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-02-08 10:18:41 -0800
committerAndreas Huber <andih@google.com>2011-02-10 11:53:54 -0800
commit100a4408968b90e314526185d572c72ea4cc784a (patch)
tree3b911150d367d8083a4b1d157a217b85da859ab6 /media/libstagefright/rtsp/ARTPAssembler.cpp
parentfcac8fa9421f442f024018628a6042d7a14fbfb0 (diff)
downloadframeworks_av-100a4408968b90e314526185d572c72ea4cc784a.zip
frameworks_av-100a4408968b90e314526185d572c72ea4cc784a.tar.gz
frameworks_av-100a4408968b90e314526185d572c72ea4cc784a.tar.bz2
Change timestamp handling in RTSP, remove unused, experimental, gtalk support
related-to-bug: 3216447 NTP timestamp handling is now done at a higher layer than before. Change-Id: I9fb23f1335110ec59e534f9aa0fe6f6a6406dd52
Diffstat (limited to 'media/libstagefright/rtsp/ARTPAssembler.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTPAssembler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/media/libstagefright/rtsp/ARTPAssembler.cpp b/media/libstagefright/rtsp/ARTPAssembler.cpp
index 9ba2b37..a897c10 100644
--- a/media/libstagefright/rtsp/ARTPAssembler.cpp
+++ b/media/libstagefright/rtsp/ARTPAssembler.cpp
@@ -65,13 +65,9 @@ void ARTPAssembler::onPacketReceived(const sp<ARTPSource> &source) {
// static
void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) {
- uint64_t ntpTime;
- CHECK(from->meta()->findInt64("ntp-time", (int64_t *)&ntpTime));
-
uint32_t rtpTime;
CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
- to->meta()->setInt64("ntp-time", ntpTime);
to->meta()->setInt32("rtp-time", rtpTime);
// Copy the seq number.