diff options
author | James Dong <jdong@google.com> | 2011-07-21 17:32:55 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-07-21 17:38:18 -0700 |
commit | ce78dc5baa8702be1df6c0753b18d6b6abe4cead (patch) | |
tree | 6e000b3e5c566c25a8e50c3e6b78b7884ab875f7 /media | |
parent | 7dde1c8ccce049378b8aa9e757b6f907040c8640 (diff) | |
download | frameworks_base-ce78dc5baa8702be1df6c0753b18d6b6abe4cead.zip frameworks_base-ce78dc5baa8702be1df6c0753b18d6b6abe4cead.tar.gz frameworks_base-ce78dc5baa8702be1df6c0753b18d6b6abe4cead.tar.bz2 |
Log setVideoSurface() and setVideoSurfaceTexture() failures.
Change-Id: Iaea34e74a0cf569fc85b926949253dea6baa6142
related-to-bug: 5063370
Diffstat (limited to 'media')
-rw-r--r-- | media/libmedia/mediaplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libmedia/mediaplayer.cpp b/media/libmedia/mediaplayer.cpp index 178039c..f1a6041 100644 --- a/media/libmedia/mediaplayer.cpp +++ b/media/libmedia/mediaplayer.cpp @@ -226,6 +226,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. @@ -275,6 +276,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. |