Commit 6fa23551 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Depend on GStreamer 1.10

It was released in 2016
parent f0cc8249
......@@ -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.90 REQUIRED)
find_package(GStreamer 1.10 REQUIRED)
find_package(GLIB2 REQUIRED)
find_package(GObject REQUIRED)
......@@ -397,8 +397,7 @@ void WebcamControl::updateSourceFilter()
if (prevstate != GST_STATE_NULL)
gst_element_set_state(GST_ELEMENT(, 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(" ! "));
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