Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kamoso
Commits
6fa23551
Commit
6fa23551
authored
Sep 29, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Depend on GStreamer 1.10
It was released in 2016
parent
f0cc8249
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
CMakeLists.txt
CMakeLists.txt
+1
-1
src/video/webcamcontrol.cpp
src/video/webcamcontrol.cpp
+1
-2
No files found.
CMakeLists.txt
View file @
6fa23551
...
...
@@ -16,7 +16,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package
(
Qt5 NO_MODULE REQUIRED COMPONENTS Core Gui Widgets Quick Test OpenGL
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS Config DocTools KIO I18n Purpose Notifications
)
find_package
(
GStreamer 1.1
.9
0 REQUIRED
)
find_package
(
GStreamer 1.10 REQUIRED
)
find_package
(
GLIB2 REQUIRED
)
find_package
(
GObject REQUIRED
)
...
...
src/video/webcamcontrol.cpp
View file @
6fa23551
...
...
@@ -397,8 +397,7 @@ void WebcamControl::updateSourceFilter()
if
(
prevstate
!=
GST_STATE_NULL
)
gst_element_set_state
(
GST_ELEMENT
(
m_pipeline
.
data
()),
GST_STATE_NULL
);
//videoflip: use video-direction=horiz, method is deprecated, not changing now because video-direction doesn't seem to be available on gstreamer 1.8 which is still widely used
QString
filters
=
m_mirror
?
QStringLiteral
(
"videoflip method=4"
)
:
QStringLiteral
(
"videoflip method=0"
);
QString
filters
=
m_mirror
?
QStringLiteral
(
"videoflip video-direction=horiz"
)
:
QStringLiteral
(
"videoflip method=none"
);
if
(
!
m_extraFilters
.
isEmpty
())
{
if
(
!
filters
.
isEmpty
())
filters
.
prepend
(
QStringLiteral
(
" ! "
));
...
...
Write
Preview
Markdown
is supported
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