commit | 8a61c22ecc2a38fffe978be210fe3f0a70efb71c | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Fri Aug 31 14:05:27 2012 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Sep 04 10:41:49 2012 -0700 |
tree | badbf524da8547d01e134b9875f6d3d9ae8ddb74 | |
parent | ebb5047fca788f89188158cc764fbb5ad2321f7a [diff] [blame] |
Support for acting as a wifi display sink. Change-Id: I0beac87025b93c60164daa865c89f16b72197a47
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp index a02732b..91aaafe 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp +++ b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp
@@ -293,8 +293,8 @@ break; } - if (mAudioDecoder == NULL && mAudioSink != NULL || - mVideoDecoder == NULL && mNativeWindow != NULL) { + if ((mAudioDecoder == NULL && mAudioSink != NULL) + || (mVideoDecoder == NULL && mNativeWindow != NULL)) { msg->post(100000ll); mScanSourcesPending = true; }