Commit graph

195 commits

Author SHA1 Message Date
Sebastian Dröge
5035124050 playback/player: Update Android bindings to the latest API 2015-03-01 14:20:17 +01:00
Sebastian Dröge
b7a1198170 playback/player: Add copyright header to GTK player 2015-03-01 14:04:00 +01:00
Sebastian Dröge
0b7383c104 playback/player: Make it possible to call play()/pause() after EOS to restart playback from the beginning 2015-03-01 14:01:17 +01:00
Sebastian Dröge
6342159440 playback/player: Fix indention 2015-03-01 13:59:03 +01:00
Sebastian Dröge
6f88388819 playback/player: Remove gst_player_is_playing()
The current state is now notified via the state-changed signal, and in
the GTK UI it was only used to keep track of the desired state.
2015-02-27 09:46:02 +02:00
Ross Burton
d0ef447da9 playback/player: gtk-play: show a file chooser if no URIs were passed 2015-02-27 09:41:17 +02:00
Luis de Arquer
d72375c22d network/http-launch: Minor format changes 2015-02-21 13:49:58 +00:00
Luis de Arquer
bb90ddfad1 network/http-launch: Content-type boundary tag is now taken from the multipartmux "boundary" property 2015-02-21 13:04:19 +00:00
Luis de Arquer
9da0c14273 network/http-launch: Add support for MJPEG streams using multipartmux 2015-02-21 12:33:17 +00:00
Sebastian Dröge
d828730591 playback/player: Don't skip to next track immediately in gst-play when seeking after the duration
Instead wait for end-of-stream for switching.
2015-02-08 11:52:11 +01:00
Sebastian Dröge
ae46c50138 playback/player: Make state handling more robust and notify the application about our states
The application now will get one of 4 states via a signal:
STOPPED: After EOS, error and when explicitely stopped
BUFFERING: When moving to the lower states, or we get buffering messages,
           also when seeking.
PAUSED and PLAYING: When having reached that state and it's our target

Also we now always first go to PAUSED state before we seek, and also before we
go to PLAYING. This allows us to deterministically change states and makes
everything a bit more robust.

As a side-effect, get rid of the is-playing property. Applications can now get
this from the corresponding signal if they need to know.

Additionally now notify the application about the buffering percentage.

Also fix a few bugs related to state handling and buffering.
2015-02-08 11:52:10 +01:00
Victor Sergienko
aaaea24c21 network/http-launch: segfault on GStreamer warnings because of wrong parsing function 2015-01-27 22:34:57 +01:00
Thibault Saunier
97c4cfc670 playback/player: android: Link against GLib 2.0 as it is necessary 2014-11-12 16:36:39 +01:00
Guillaume Seguin
28507ed0cf network/http-launch: Fix segfault
Message len was not updated when iterating in on_read_bytes
2014-10-17 14:43:25 +02:00
Guillaume Seguin
5a2104e89d network/http-launch: Add PORT command line argument 2014-10-17 14:39:30 +02:00
Sebastian Dröge
d0dc785d77 playback/player: Fix indention with gst-indent 2014-08-07 10:59:37 +02:00
Sebastian Dröge
adf40eeefe playback/player: GTK: Fix prev/next button insensitivity logic in the EOS handler 2014-08-06 16:52:22 +02:00
Sebastian Dröge
ad694a24ea playback/player: GTK: Turn checks that must not fail into assertions in prev/next logic 2014-08-06 16:45:09 +02:00
Sebastian Dröge
ead64d43fa playback/player: GTK: Fix logic for setting the prev/next button insensitive at the end/beginning of the playlist 2014-08-06 16:45:03 +02:00
Parthasarathi Susarla
a622cb0d2c playback/player: GTK: Improvements to the GTK+ player
This patch contains a few improvements to the gtk-player:
* Uses unified play/pause button.
* Adds a Skip Previous/Next button.
* Volume control
* Takes multiple files/uri's as arguments.
* Switches to the next track (if any) when the current track
  reaches and end.

https://github.com/sdroege/gst-player/pull/1
2014-08-06 16:44:54 +02:00
Sebastian Dröge
7cb352aaa6 playback/player: Implement seek throttling 2014-08-05 19:12:02 +02:00
Sebastian Dröge
038cd47bfb playback/player: Add our own error domain and code 2014-08-03 17:06:26 +02:00
Sebastian Dröge
e85d26115a playback/player: Move dispatch-to-main-context out of the constructor and make it a normal property 2014-08-03 16:08:14 +02:00
Sebastian Dröge
e644c61286 playback/player: Always notify about video dimension changes
Without video we will notify width=height=0
2014-08-03 15:10:13 +02:00
Sebastian Dröge
4b9da857c0 playback/player: Add a single-include header 2014-08-03 12:47:27 +02:00
Sebastian Dröge
090c766562 playback/player: Add initial build system with docs and tests and magic 2014-08-03 12:38:37 +02:00
Sebastian Dröge
7071c121b6 playback/player: Add iOS app 2014-08-02 21:11:56 +02:00
Sebastian Dröge
b34e62884c playback/player: Move library around into a proper directory 2014-08-02 20:33:38 +02:00
Sebastian Dröge
3352d5aee0 playback/player: Add GTK+ sample application 2014-07-30 16:18:01 +02:00
Sebastian Dröge
be4f88ef41 playback/player: Add start of an Android player 2014-07-28 20:13:13 +02:00
Sebastian Dröge
10eabda41b playback/player: Add debug logging 2014-07-28 12:08:12 +02:00
Sebastian Dröge
153efa0077 playback/player: Add a simple Makefile for gst-play 2014-07-28 10:09:04 +02:00
Sebastian Dröge
5c289ec20a playback/player: Port gst-play from gst-plugins-base to GstPlayer 2014-07-27 18:01:39 +02:00
Sebastian Dröge
dcf3da3d5d network/http-launch: Append \0 at the end of the requests to make the string functions happy 2013-07-28 19:01:34 +02:00
Sebastian Dröge
c8a308eee2 network/http-launch: Make HTTP handling a bit more robust 2013-07-28 18:53:51 +02:00
Sebastian Dröge
466d249647 network/http-launch: Fix writing response if the write could not be finished in one rurun 2013-07-28 18:39:07 +02:00
Sebastian Dröge
e38e9ce609 network/http-launch: Disconnect clients if there was no valid HTTP request after 1MB of data 2013-07-28 18:38:01 +02:00
Sebastian Dröge
9228d05bf3 network/http-launch: Timeout if client did not do a GET after 5 seconds 2013-07-28 18:35:20 +02:00
Sebastian Dröge
c8cfba9acc network/http-launch: Improve error reporting a bit
and add some FIXME/TODO comments here and there
2013-07-28 18:32:16 +02:00
Sebastian Dröge
1445b2bf92 network/http-launch: Fix copyright year 2013-07-28 18:24:53 +02:00
Sebastian Dröge
f132da65a7 network/http-launch: Add EOS handling
Just quit on EOS for now
2013-07-28 13:54:58 +02:00
Sebastian Dröge
1cbacffb52 network/http-launch: Adjust timeout a bit 2013-07-28 13:27:20 +02:00
Sebastian Dröge
7c1b72ef48 network/http-launch: Fix example commandline 2013-07-28 13:03:51 +02:00
Sebastian Dröge
d72c7a85ba network/http-launch: Add initial, working version of the code 2013-07-28 12:58:43 +02:00
Sebastian Dröge
d6f4e60bf5 network/http-launch: Initial commit 2013-07-28 10:51:39 +02:00