|
|
@ -4212,8 +4212,7 @@ Status ExternalCameraDeviceSession::configureStreams(
|
|
|
|
client->getHdmiDeviceId( [&](const ::android::hardware::hidl_string &id){
|
|
|
|
client->getHdmiDeviceId( [&](const ::android::hardware::hidl_string &id){
|
|
|
|
deviceId = id.c_str();
|
|
|
|
deviceId = id.c_str();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
ALOGE("getHdmiDeviceId:%s,mCameraId:%s,diff :%d",deviceId.c_str(),mCameraId.c_str(),
|
|
|
|
ALOGE("mCameraId: %s, getHdmiDeviceId: %s", mCameraId.c_str(), deviceId.c_str());
|
|
|
|
std::stoi(mCameraId.c_str()) - std::stoi(deviceId.c_str()));
|
|
|
|
|
|
|
|
if(strstr(deviceId.c_str(), mCameraId.c_str())){
|
|
|
|
if(strstr(deviceId.c_str(), mCameraId.c_str())){
|
|
|
|
int width,height,format;
|
|
|
|
int width,height,format;
|
|
|
|
get_current_sourcesize(mV4l2Fd.get(),width,height,format);
|
|
|
|
get_current_sourcesize(mV4l2Fd.get(),width,height,format);
|
|
|
|