Loading media/libmediaplayerservice/nuplayer/NuPlayer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -537,7 +537,7 @@ void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { sp<RefBase> obj; CHECK(msg->findObject("native-window", &obj)); if (mSource->getFormat(false /* audio */) == NULL) { if (mSource == NULL || mSource->getFormat(false /* audio */) == NULL) { performSetSurface(static_cast<NativeWindowWrapper *>(obj.get())); break; } Loading Loading
media/libmediaplayerservice/nuplayer/NuPlayer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -537,7 +537,7 @@ void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { sp<RefBase> obj; CHECK(msg->findObject("native-window", &obj)); if (mSource->getFormat(false /* audio */) == NULL) { if (mSource == NULL || mSource->getFormat(false /* audio */) == NULL) { performSetSurface(static_cast<NativeWindowWrapper *>(obj.get())); break; } Loading