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 | fada58a21be01913a8e3f25c898d26d2fc8ba630 (patch) | |
tree | 8a7fb66ffcc81c28e8d7aa4f7ec586fdfc42ba97 /media/libmedia/mediaplayer.cpp | |
parent | 8ebe5be6b0b3caa7d9d6277a1216ed786bd1e66a (diff) | |
download | frameworks_av-fada58a21be01913a8e3f25c898d26d2fc8ba630.zip frameworks_av-fada58a21be01913a8e3f25c898d26d2fc8ba630.tar.gz frameworks_av-fada58a21be01913a8e3f25c898d26d2fc8ba630.tar.bz2 |
Log setVideoSurface() and setVideoSurfaceTexture() failures.
Change-Id: Iaea34e74a0cf569fc85b926949253dea6baa6142
related-to-bug: 5063370
Diffstat (limited to 'media/libmedia/mediaplayer.cpp')
-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. |