Commit 0f874136 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Adrien Béraud

windows video device implementation: cleanup

Change-Id: I186639f8d8e09bd3fbfbb23bb5f39f89e1e1162a
parent 99d1356c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment