Simon Himmelbauer
f7ce5cd694
playback/player/qt: Use QUrl::toEncoded() instead of ::toString()
...
The former properly encodes the URL components to give a valid URL, the
latter generates a human-readable URL.
2017-05-15 12:02:03 +03:00
Carlos Rafael Giani
175f7c8da1
playback/player: qt: use QApplication instead of QGuiApplication
...
This avoids the following fatal error:
"QWidget: Cannot create a QWidget without QApplication"
https://bugzilla.gnome.org/show_bug.cgi?id=781789
2017-04-27 12:27:49 +03:00
Sebastian Dröge
5fc4fd5958
playback/player/qt: Fix build with new GstPlayer API
...
Configuration has a separate interface now.
2017-03-08 17:12:02 +02:00
Guillaume Desmottes
10dd3a2177
playback/player: Call gst_deinit() in all applications at the end of main()
...
Needed to be able to track leaks using valgrind or the leaks tracer.
2016-07-21 20:32:43 +03:00
Sebastian Dröge
f509043c1d
playback/player: player: Build against GstPlayer version from gst-plugins-bad everywhere
...
The old version with everything included and buildable against GStreamer 1.6
can still be found in the gst-player-0.1 branch and will be continued to be
updated for a while.
2016-01-04 10:21:21 +02:00
Sebastian Dröge
addb63586b
playback/player: player: Remove gst_player_new() and make gst_player_new_full() the normal constructor
...
In very few cases the simple version was actually needed and having the
parameters hidden by a _full() version caused application that actually needed
it to not use it.
2016-01-04 09:59:40 +02:00
Alexandre Moreno
e4ae2c3c7b
playback/player: qt: add new qml item to render media info sample
...
when video is not available it will try to display the sample image
returned by media info object.
2015-11-02 09:28:51 +02:00
Alexandre Moreno
8853575547
playback/player: qt: accept a list of uris or files as command line parameters
2015-11-01 11:25:27 +02:00
Alexandre Moreno
1cebdf926c
playback/player: qt: add simple playlist support and wire buttons
2015-11-01 11:25:27 +02:00
Alexandre Moreno
16a9b70155
playback/player: qt: add autoPlay property
...
When set to true will play current media set immediately, and if set to false
will show first frame (i.e. go to pause state)
2015-11-01 11:25:27 +02:00
Alexandre Moreno
736ba93518
playback/player: qt: seek while dragging seek bar
...
removed time label on top the seek bar, should be placed elsewhere
2015-11-01 11:23:09 +02:00
Alexandre Moreno
a8f242d48c
playback/player: qt: do not hide playbar if it contains cursor
2015-11-01 11:21:35 +02:00
Sebastian Dröge
afd72fe79e
playback/player: qt: Return a new reference to the renderer from VideoRenderer::renderer()
...
gst_player_new_full() takes ownership of it, and that's where it is usually
used. Without this we would create assertions on application shutdown.
Fixes #129
2015-10-27 19:01:58 +02:00
Alexandre Moreno
d0bc110836
playback/player: qt: add a destructor and release resources
...
Fixes #129
2015-10-27 18:51:53 +02:00
Alex Moreno
5dbeabcb76
playback/player: qt: consistent use of pixel sizes
...
See #124 . We should switch everything to be device independent
at some point, but this at least gives us a consistent UI for the time being.
2015-10-27 17:35:49 +02:00
Alexandre Moreno
dbc1f82678
playback/player: qt: hide playbar properly
...
Fixes #120
2015-10-24 20:40:01 +03:00
Alexandre Moreno
d623c45b76
playback/player: qt: bind video item size to window
...
Fixes #119
2015-10-24 20:38:35 +03:00
Alexandre Moreno
512051bdd6
playback/player: qt: elide long titles
...
Fixes #121
2015-10-24 20:37:05 +03:00
Alexandre Moreno
3542cae138
playback/player: qt: add position update interval property
2015-10-24 11:25:41 +03:00
Sebastian Dröge
13156a713d
playback/player: qt: Fix -Wunused-variable compiler warnings
2015-10-23 21:54:05 +03:00
Alexandre Moreno
c8d7277d70
playback/player: qt: add stream selection support
2015-10-23 00:20:17 +03:00
Alexandre Moreno
2ea1c9aee7
playback/player: qt: emit player signals from Qt event loop
2015-10-06 16:40:27 +01:00
Alexandre Moreno
82b2c53618
playback/player: Add Qt bindings and player
2015-10-04 19:09:50 +01:00