Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
0f874136
Commit
0f874136
authored
Jun 28, 2019
by
Andreas Traczyk
Committed by
Adrien Béraud
Jul 03, 2019
Browse files
windows video device implementation: cleanup
Change-Id: I186639f8d8e09bd3fbfbb23bb5f39f89e1e1162a
parent
99d1356c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/media/video/winvideo/video_device_impl.cpp
View file @
0f874136
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment