summaryrefslogtreecommitdiffstats
path: root/media/libmedia/mediaplayer.cpp
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-07-22 10:09:22 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-22 10:09:22 -0700
commit5bc965b1ff21c64e5f30130957bfe96300e15ed3 (patch)
tree73244b707825d0c65147da60e3b5e0a306975008 /media/libmedia/mediaplayer.cpp
parent59d49c0b3b56b24c5b6d98cdfdcd75c537322f2e (diff)
parentfada58a21be01913a8e3f25c898d26d2fc8ba630 (diff)
downloadframeworks_av-5bc965b1ff21c64e5f30130957bfe96300e15ed3.zip
frameworks_av-5bc965b1ff21c64e5f30130957bfe96300e15ed3.tar.gz
frameworks_av-5bc965b1ff21c64e5f30130957bfe96300e15ed3.tar.bz2
Merge "Log setVideoSurface() and setVideoSurfaceTexture() failures."
Diffstat (limited to 'media/libmedia/mediaplayer.cpp')
-rw-r--r--media/libmedia/mediaplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libmedia/mediaplayer.cpp b/media/libmedia/mediaplayer.cpp
index ed6e3c7..a11fb80 100644
--- a/media/libmedia/mediaplayer.cpp
+++ b/media/libmedia/mediaplayer.cpp
@@ -228,6 +228,7 @@ status_t MediaPlayer::setVideoSurface(const sp<Surface>& surface)
NATIVE_WINDOW_API_MEDIA);
if (err != OK) {
+ LOGE("setVideoSurface failed: %d", err);
// Note that we must do the reset before disconnecting from the ANW.
// Otherwise queue/dequeue calls could be made on the disconnected
// ANW, which may result in errors.
@@ -277,6 +278,7 @@ status_t MediaPlayer::setVideoSurfaceTexture(
NATIVE_WINDOW_API_MEDIA);
if (err != OK) {
+ LOGE("setVideoSurfaceTexture failed: %d", err);
// Note that we must do the reset before disconnecting from the ANW.
// Otherwise queue/dequeue calls could be made on the disconnected
// ANW, which may result in errors.