summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPSession.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-08-30 16:08:03 -0700
committerAndreas Huber <andih@google.com>2010-08-30 16:08:03 -0700
commitb186054757f4743eb9a6d6e81d262b9c7b36bec7 (patch)
tree53211310e277023d7bbf103fa93b61a765cad481 /media/libstagefright/rtsp/ARTPSession.cpp
parent1c842b26ebbf64d15b6015b9a03d888829b946ef (diff)
downloadframeworks_av-b186054757f4743eb9a6d6e81d262b9c7b36bec7.zip
frameworks_av-b186054757f4743eb9a6d6e81d262b9c7b36bec7.tar.gz
frameworks_av-b186054757f4743eb9a6d6e81d262b9c7b36bec7.tar.bz2
Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder.
Change-Id: Ib8615ce5a89a9a846ee2f9f96cdfb23462f72c7a
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSession.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTPSession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/rtsp/ARTPSession.cpp b/media/libstagefright/rtsp/ARTPSession.cpp
index d2c56f7..f60c1a9 100644
--- a/media/libstagefright/rtsp/ARTPSession.cpp
+++ b/media/libstagefright/rtsp/ARTPSession.cpp
@@ -167,6 +167,7 @@ void ARTPSession::onMessageReceived(const sp<AMessage> &msg) {
#endif
accessUnit->meta()->setInt64("ntp-time", ntpTime);
+ accessUnit->meta()->setInt64("timeUs", 0);
#if 0
int32_t damaged;