Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gst-rack
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yids
gst-rack
Commits
cb3a66ea
Commit
cb3a66ea
authored
4 years ago
by
yids
Browse files
Options
Downloads
Patches
Plain Diff
libs
parent
f2845e09
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gst-rack.pro
+1
-1
1 addition, 1 deletion
gst-rack.pro
main.cpp
+27
-0
27 additions, 0 deletions
main.cpp
with
28 additions
and
1 deletion
gst-rack.pro
+
1
−
1
View file @
cb3a66ea
...
...
@@ -21,7 +21,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
#
In
order
to
do
so
,
uncomment
the
following
line
.
#
You
can
also
select
to
disable
deprecated
APIs
only
up
to
a
certain
version
of
Qt
.
#
DEFINES
+=
QT_DISABLE_DEPRECATED_BEFORE
=
0
x060000
#
disables
all
the
APIs
deprecated
before
Qt
6.0
.
0
INCLUDEPATH
+=
`
pkg
-
config
--
cflags
Qt5GStreamer
-
1.0
`
INCLUDEPATH
+=
"/usr/include/
Qt5GStreamer
"
LIBS
+=
`
pkg
-
config
--
libs
Qt5GStreamer
-
1.0
`
CONFIG
+=
c
++
11
...
...
This diff is collapsed.
Click to expand it.
main.cpp
+
27
−
0
View file @
cb3a66ea
/*
Copyright (C) 2011 Collabora Ltd. <info@collabora.co.uk>
@author George Kiagiadakis <george.kiagiadakis@collabora.co.uk>
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include
<iostream>
#include
<QCoreApplication>
#include
<QGlib/Error>
#include
<QGlib/Connect>
#include
<QGst/Init>
#include
<QGst/Bus>
#include
<QGst/Pipeline>
#include
<QGst/Parse>
#include
<QGst/Message>
#include
<QGst/Utils/ApplicationSink>
#include
<QGst/Utils/ApplicationSource>
#include
<QGst/videooverlay.h>
#include
"mainwindow.h"
#include
<QApplication>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment