Commit graph

137 commits

Author SHA1 Message Date
Sebastian Dröge
048de74441 playback/player: android: Register native_stop() with JNI
https://github.com/sdroege/gst-player/issues/143
2016-01-07 00:22:26 +02: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
Sebastian Dröge
8ccf31fcf9 playback/player: android: Fix compilation 2015-12-22 12:08:53 +01:00
Sebastian Dröge
af371bf38e playback/player: android: Allow building for multiple Android ABIs 2015-12-09 09:48:38 +02:00
Sebastian Dröge
eaed96145e playback/player: android: Don't do custom surface width/height calculations if we have no media width/height 2015-11-13 10:36:52 +01:00
Sebastian Dröge
00cad0da11 playback/player: android: Add more URI schemes, mimetypes and file extensions
Based on the AndroidManifest.xml of VLC for Android.
2015-11-13 10:36:24 +01:00
Sebastian Dröge
171c723592 playback/player: gtk: Remove double assignment of a variable 2015-11-09 21:35:57 +01:00
caseten
de7130efc2 playback/player: android: Fix typo for restricted codecs plugin 2015-11-08 15:22:51 +01:00
Sebastian Dröge
1d5a020a03 playback/player: Revert "android: Use gradle & ndk-build combo to generate the Android App"
This reverts commit a95ee9c61c371ec2b8d4ff59cace26451b11225a.

The gradle based build system has various problems currently.
2015-11-06 11:04:17 +01:00
Sebastian Dröge
9d8f476174 playback/player: Revert "android: Fix Windows build of the app"
This reverts commit 5d8c1868beec85ac02bcc6e0bfd0ad9dbb99a3b8.

The gradle based build system has various problems currently.
2015-11-06 11:04:14 +01:00
Sebastian Dröge
9ffdefc14f playback/player: Revert "README.md formatting."
This reverts commit 499f68c42371081204b6285227073a7eb165c652.

The gradle based build system has various problems currently.
2015-11-06 11:03:56 +01:00
Justin Kim
6cc6793d1f playback/player: gtk-play: change print format of guint64
guint64 type usually corresponds with 'G_GUINT64_FORMAT'.
2015-11-05 08:31:42 +01: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
Jimmy Ohn
09864feff4 playback/player: gst-play: trivial cleanup 2015-10-04 18:54:54 +01:00
Sebastian Dröge
15d62dcfe6 playback/player: gtk-play: Run gst-indent 2015-09-21 14:20:24 +02:00
Hyunjun Ko
5903c7cd5e playback/player: gtk-play: change to use valid macro function 2015-09-17 15:45:24 +02:00
Jimmy Ohn
4dcc43b935 playback/player: gtk-play: Modify switch statement in stream_info_get_string
In stream_info_get_string function, buffer variable is used
all switch case repeatedly. Also, return used in switch statement.
So, I have modified that cases.
2015-09-15 17:49:22 +02:00
Jimmy Ohn
c454b2914e playback/player: gst-play: Check if the stream list is empty in print_all_stream_info
Add a check condition if the stream list is empty before using it.
2015-09-15 17:49:22 +02:00
Sebastian Dröge
b5c10865aa playback/player: gtk-play: Add compiler warning flags to the build and fix the warnings 2015-09-04 18:11:25 +03:00
Justin Kim
0caa80c26f playback/player: ios: remove implicit conversion of UIView to c pointer 2015-09-04 12:12:52 +03:00
Alexandre Moreno
6e9e9228bd playback/player: gtk-play: Remove unused variable 2015-09-01 21:45:50 +03:00
Sebastian Dröge
371f4ec378 playback/player: gst-play: Remove useless variable initializations
They are set to something in the next line anyway.
2015-08-27 10:54:52 +03:00
Jimmy Ohn
50099a3aa1 playback/player: gst-play: Check if the stream list is empty in print_all_stream_info before using it 2015-08-27 10:54:11 +03:00
Sebastian Dröge
e2581982a6 playback/player: gst-play: Fix leak of GError and GOptionContext on parsing errors 2015-08-20 10:50:30 +03:00
Sebastian Dröge
c581233464 playback/player: android: Fix video rendering after GstPlayerVideoRenderer refactoring 2015-08-18 13:20:15 +03:00
Sebastian Dröge
80e4c1abff playback/player: ios: Fix video rendering after GstPlayerVideoRenderer refactoring 2015-08-18 13:17:57 +03:00
trungdoan
2da236d871 playback/player: iOS: Fix build issue
Fix build issue on iOS by adding additional files in lib/gst/player to
the iOS project.
2015-08-18 13:02:41 +03:00
Sebastian Dröge
a8f8d1b032 playback/player: player: Refactor video rendering API
There's a GstPlayerVideoRenderer interface now, which defines how video
rendering happens in GstPlayer. Included is an implementation for the
GstVideoOverlay interface, and inside the GTK example application one for
gtksink/gtkglsink.
2015-08-14 17:13:39 +02:00
Sebastian Dröge
6ed6b58929 playback/player: player: Abstract the signal emission dispatching to a new interface
This allows to implement signal dispatching to other event loop systems than
GLib without having direct GLib support in the base GstPlayer class. A
implementation for the GLib main context is provided and used in the
applications and tests.
2015-08-12 18:13:31 +02:00
Sebastian Dröge
f68bac6318 playback/player: gtk-play: Fix indention 2015-07-30 15:54:26 +03:00
Brijesh Singh
7a874938a0 playback/player: gtk-play: if title is NULL then use uri basename in toolbar label
If stream title is not available in the stream then use file basename in
toolbar title label and full uri in window title bar.
2015-07-30 15:54:16 +03:00
Brijesh Singh
a18cefb73c playback/player: gtk-play: fix elapsed and remain time label
If elapsed or remain time is greater than 60 mins then add hours in
label text.
2015-07-30 15:54:16 +03:00
Víctor Manuel Jáquez Leal
a8bb7e0199 playback/player: gtk-play: handle keys
Add a mplayer alike key-binding.
2015-07-26 19:51:36 +03:00