Skip to content
Snippets Groups Projects
Commit 0f874136 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Adrien Béraud
Browse files

windows video device implementation: cleanup

Change-Id: I186639f8d8e09bd3fbfbb23bb5f39f89e1e1162a
parent 99d1356c
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,6 @@ class VideoDeviceImpl {
std::map<VideoSize, std::vector<FrameRate> > rateList_;
std::map<VideoSize, AM_MEDIA_TYPE*> capMap_;
//AM_MEDIA_TYPE* findCap(const std::string& size);
void fail(const std::string& error);
};
......@@ -210,13 +209,6 @@ VideoDeviceImpl::setup()
capMap_[size] = pmt;
}
}
// Sort rates descending.
for (auto& rateList : rateList_) {
std::sort(rateList.second.begin(), rateList.second.end(),
[](const jami::video::FrameRate& lhs, const jami::video::FrameRate& rhs) {
return lhs.denominator() < rhs.denominator();
});
}
}
pSysDevEnum->Release();
pSysDevEnum = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment