summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04DeviceMonitor examplePavel Bludov6-0/+408
2014-06-24examples/recorder: cleanup / fixupGeorge Kiagiadakis4-55/+4
2014-06-24Make recorder example compileDavid Edmundson2-110/+11
Device selection does not exist in GStreamer 1.0, so we remove it Update pipelines for 1.0 spec
2014-06-24build system: install .pc file and cmake variables for the Qt5GStreamerQuick ↵George Kiagiadakis1-1/+1
library ... and fix the qmlplayer2 .pro file to test it. "make examples_distcheck" passes at this point.
2014-05-03examples/voip: fix crash after starting a callGeorge Kiagiadakis1-2/+3
Apparently in 1.0 the pad coming from rtpbin does not have caps set on it, so we need to check the pad name to find out which session it belongs in. I am not sure if there is a better way to check this...
2014-05-03examples/voip: fix caps and element names for 1.0George Kiagiadakis1-6/+6
2014-05-03examples/appsink-src: fix caps and appsrc properties to make the example workGeorge Kiagiadakis1-3/+4
2014-05-03s/0.10/1.0/g in places where it was forgotten (qml modules, docs and qmake ↵George Kiagiadakis8-13/+13
project files)
2014-05-03examples/qmlplayer2: allow setting a different video uri from the command lineGeorge Kiagiadakis1-1/+4
2014-05-03examples/qmlplayer2: rename playbin2 to playbinGeorge Kiagiadakis1-1/+1
2014-05-03QGst::Pad: align the API for getting/setting Caps with the equivalent C APIGeorge Kiagiadakis1-1/+1
It's not a good idea to divert from the C API and create confusion on how these methods work.
2014-04-27examples/CMakeLists.txt disable building recorder exampleDiane Trout1-2/+2
FIXME: The 0.10->1.0 porting guide says that PropertyProbe was removed and not yet replaced, the example seems to use that functionality heavily so I just disabled it pending a better solution.
2014-04-27examples/appsink-src/main.cpp rename decodebin2 to decodebinDiane Trout1-1/+1
2014-04-27examples/appsink-src/main.cpp update audio/x-raw-int caps lineDiane Trout1-1/+1
renamed to caps type audio/x-raw with a format type=(string)int
2014-04-27examples/appsink-src/main.cpp Update name to reflect Sample being returnedDiane Trout1-2/+3
FIXME: However the return value of pullSample is being fed into pushBuffer this really should be made consistent.
2014-04-27examples/player/player.cpp rename playbin2 to playbinDiane Trout1-1/+1
2014-04-27examples/qmlplayer/player.cpp rename playbin2 to playbinDiane Trout1-1/+1
2013-10-28examples: Add a qtquick2 player exampleGeorge Kiagiadakis9-1/+347
2013-06-09includes: Stop using <QtModule/QtClass> style includes outside of src/George Kiagiadakis11-70/+30
* Makes Qt4/Qt5 compatible source code easier to read and develop since no Qt version checking is needed for deciding which module a certain class lives in. * Code under src/ (libraries) should use the old style because the QtGStreamer headers need to work even if only the top-level Qt include dir is in the compiler's include path (when building projects that use QtGStreamer)
2013-06-09examples: Fix make examples_distcheck with Qt5George Kiagiadakis7-9/+43
2013-06-09cmake: Replace QtHelpers by a better FindQt4or5 scriptGeorge Kiagiadakis6-21/+51
This script makes use of qt4_use_modules and qt5_use_modules, which allow us to get rid of QT_* variables in cmake code and also do things right by defining all the necessary include directories and required Qt defines as well as compiler flags. This also allows us to support both Qt4 and Qt5 in the examples when compiled standalone without much effort.
2013-06-05qt5: also port the qmlplayer exampleGeorge Kiagiadakis2-2/+10
2013-06-05qt5: examples: Fix floating point exception in playerLuciana Fujii Pontello2-5/+5
QTime() in QT5 is different than QTime(0,0). The first won't produce a valid date, and can't be used in QTime.msecsTo and other methods that rely on a valid QTime, otherwise 0 will be returned.
2013-06-05qt5: Initial port to Qt5George Kiagiadakis5-14/+47
Based on patches by: Tiago Salem Herrmann <tiago.herrmann@canonical.com> Gustavo Pichorim Boiko <gustavo.boiko@canonical.com> Andoni Morales Alastruey <ylatuya@gmail.com> Luciana Fujii Pontello <luciana@fujii.eti.br>
2013-06-05qt5: Add conditional support for Qt5 in the build systemGeorge Kiagiadakis3-3/+3
Based on patches by: Andoni Morales Alastruey <ylatuya@gmail.com> Luciana Fujii Pontello <luciana@fujii.eti.br>
2013-05-23cmake: Use CMAKE_INCLUDE_CURRENT_DIRGeorge Kiagiadakis4-4/+8
This avoids including CMAKE_CURRENT_BINARY_DIR in nearly every subdirectory
2013-05-23cmake: Drop completely the optional automoc dependencyGeorge Kiagiadakis4-43/+8
Since we require cmake 2.8.9 now, there is no point.
2012-12-06qmlplayer: s/setenv/qputenv/, since setenv() apparently does not exist on ↵George Kiagiadakis1-1/+1
windows
2012-04-08cmake: Build qmlplayer only if QtDeclarative is found (it is an optional dep).George Kiagiadakis1-1/+3
2012-04-08cmake: Add the GL include dirs in the compiler include path in all places ↵George Kiagiadakis1-1/+11
where QtOpenGL is used. This is because qgl.h includes GL headers directly, so unless the GL headers are in the standard include path, this is going to fail.
2012-04-08Fix copy/paste mistake in license headers: s/See the GNU General Public ↵George Kiagiadakis13-13/+13
License/See the GNU Lesser General Public License/g
2012-04-08cmake: Add an examples_distcheck targetGeorge Kiagiadakis2-0/+63
This target executes out-of-tree compilation of all examples both with cmake and qmake, so that one can test whether the build system of the examples is in order.
2012-04-08examples: Improve the build system scriptsGeorge Kiagiadakis12-17/+193
This commit makes: * all examples compilable with qmake. * all examples compilable with cmake out of the QtGStreamer build tree. * all examples compilable and runnable from the QtGStreamer build tree, without installing QtGStreamer.
2012-02-07Fix some problematic moc includes to work properly with cmake's automocGeorge Kiagiadakis3-2/+4
2012-01-16Add documentation for GraphicsVideoSurface, GraphicsVideoWidget and the ↵George Kiagiadakis1-0/+20
qmlplayer example.
2012-01-16Add a qmlplayer example (warning: very ugly UI)George Kiagiadakis6-0/+310
2011-11-15Fix uri encoding in the player example.George Kiagiadakis1-1/+2
2011-11-10Fix qmake compilation issues in the player example.George Kiagiadakis3-6/+6
2011-05-01player: added volume controlMarco Ballesio4-1/+53
2011-03-06Use the root source directory as the base path for included files in the ↵George Kiagiadakis1-8/+8
documentation.
2011-03-03Add a simple VoIP example.George Kiagiadakis5-0/+606
2011-01-21Use the variadic Bin::add() method in a few places to give a good example to ↵George Kiagiadakis1-4/+1
users.
2011-01-20Make the player example appear whole in the documentation and write a few ↵George Kiagiadakis1-1/+20
words about it too.
2011-01-20Improve Ballesio's player example.George Kiagiadakis6-318/+306
* Fix coding style. * Fix some bugs that I found. * Make it use the new video widget method of watching the pipeline. * Re-arrange the code and add comments to make it easier to read.
2011-01-20Reduced number of signals for state changesMarco Ballesio1-1/+3
2011-01-20Improved QTime handlingMarco Ballesio1-12/+14
2011-01-20Improved video sink handlingMarco Ballesio3-30/+30
2011-01-20Automatically stylised with astyleMarco Ballesio4-145/+175
options used as suggested in: http://techbase.kde.org/Policies/Kdelibs_Coding_Style#Artistic_Style_.28astyle.29_automatic_code_formatting Brackets for one-liner if branches added manually.
2011-01-20Removed handling of MessageAsyncDoneMarco Ballesio1-8/+0
2011-01-20Removed unneeded dynamic castsMarco Ballesio1-5/+5