Simon Himmelbauer [Mon, 15 May 2017 09:02:03 +0000 (12:02 +0300)]
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.
Víctor Manuel Jáquez Leal [Fri, 28 Apr 2017 15:20:07 +0000 (17:20 +0200)]
playback/player: gtk_menu_popup() is deprecated
gtk_menu_popup() is deprecated in GTK+ 3.22. This patch adds a
compiler guard to use gtk_menu_popup at pointer() if GTK+ is 3.22
or bigger.
https://bugzilla.gnome.org/show_bug.cgi?id=781904
Víctor Manuel Jáquez Leal [Fri, 28 Apr 2017 15:12:25 +0000 (17:12 +0200)]
playback/player: don't unref a contained widget
In the GTK+ model, when a wiget is created, it is floating, thus
when it is added to a widget container, this container is the owner
of the widget.
The video_area widget is created in two different paths:
1\ when the renderer element is also a GTK+ widget and we are
the owners.
2\ when the renderer element is an overlay an video area a new
widget owned by the container.
In the first code path, there was a memory leak fixed on commit
f8d4796a, but it didn't consider the second path, leading to a
segmentation fault because the owner of the widget is not us.
This patch unrefs early the video area widget in the first path
avoiding to unref it twice in the second path.
https://bugzilla.gnome.org/show_bug.cgi?id=781904
Víctor Manuel Jáquez Leal [Fri, 28 Apr 2017 14:25:42 +0000 (16:25 +0200)]
playback/player: don't unref gtk_sink but sink it
Commit
5b8ba60c was added because of a memory leak when gtksink was
used as renderer. Nonetheless the patch didn't consider two facts:
1\ that the gtk_sink element was in floating state
2\ there is another code path where the gtk_sink element is already
sank
Thus the correct fix, is not to ref and unref gtk_sink, but sink it.
https://bugzilla.gnome.org/show_bug.cgi?id=781904
Carlos Rafael Giani [Wed, 26 Apr 2017 18:08:19 +0000 (20:08 +0200)]
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
Arun Raghavan [Mon, 3 Apr 2017 07:53:50 +0000 (13:23 +0530)]
playback/player/android: Make plugin list in Android.mk easier to read
Minor Makefile reformatting to make how users can select what plugins
they want easier to figure out.
Sebastian Dröge [Wed, 8 Mar 2017 15:11:12 +0000 (17:11 +0200)]
playback/player/qt: Fix build with new GstPlayer API
Configuration has a separate interface now.
Tim-Philipp Müller [Fri, 13 Jan 2017 12:42:53 +0000 (12:42 +0000)]
meson: bump version
Arun Raghavan [Fri, 6 Jan 2017 13:30:17 +0000 (19:00 +0530)]
playback/player/android: Fix assets directory
Needed with GStreamer <= 1.10 and newer Android Studio so that we
correctly place the assets with respect to the rest of the code.
Arun Raghavan [Mon, 2 Jan 2017 05:42:19 +0000 (11:12 +0530)]
playback/player/android: Force externalNativeBuild before Java building
This is needed so that we copy over the Java files from gst-android that
include the GStreamer class which is used while compiling app.
Tim-Philipp Müller [Tue, 1 Nov 2016 18:13:11 +0000 (18:13 +0000)]
meson: update version
Sebastian Dröge [Mon, 3 Oct 2016 10:15:05 +0000 (13:15 +0300)]
playback/player/android: Add .gitignore
Sebastian Dröge [Mon, 3 Oct 2016 10:14:37 +0000 (13:14 +0300)]
playback/player/android: Switch to native gradle ndk-build support
Based on a patch by Olivier Crete for another project
https://github.com/sdroege/gst-launch-remote/commit/
be9470a7e1b0e84b6d9302436b477817a307d23c
Arun Raghavan [Sun, 4 Sep 2016 07:12:52 +0000 (10:12 +0300)]
playback/player/android: Switch to building against universal packages
Sebastian Dröge [Fri, 26 Aug 2016 16:02:24 +0000 (19:02 +0300)]
Add meson build system for playback/player/{gst-play,gtk} and network/http-launch
Sebastian Dröge [Fri, 26 Aug 2016 15:37:02 +0000 (18:37 +0300)]
Merge commit 'http-launch/merge'
Sebastian Dröge [Fri, 26 Aug 2016 15:28:43 +0000 (18:28 +0300)]
Merge commit 'gst-player/merge'
All gst-player example applications from https://github.com/sdroege/gst-player
Sebastian Dröge [Fri, 26 Aug 2016 15:28:10 +0000 (18:28 +0300)]
Initial commit with empty meson.build
Sebastian Dröge [Tue, 23 Aug 2016 20:48:26 +0000 (23:48 +0300)]
playback/player: gtk: Remove unused variable
Sebastian Dröge [Tue, 23 Aug 2016 16:02:53 +0000 (19:02 +0300)]
playback/player: Block value-changed signal when playing an URI to prevent spurious seeks
Arun Raghavan [Wed, 27 Jul 2016 15:40:31 +0000 (21:10 +0530)]
playback/player: android: Update build tools and gradle
New build tools needed for Instant Run, and Android Studio wants us to
update that and the gradle version.
Sebastian Dröge [Mon, 22 Aug 2016 13:19:59 +0000 (16:19 +0300)]
playback/player: gtk: Block value-change signal handler while updating the range of the seekbar too
I.e. when updating the duration. Changing the range might also change the
value, which would then trigger a seek.
Sebastian Dröge [Thu, 18 Aug 2016 12:48:57 +0000 (15:48 +0300)]
playback/player: gtk: Use GQueue instead of g_list_append() or the prepend-reverse trick
Maxin B. John [Fri, 5 Aug 2016 14:52:18 +0000 (17:52 +0300)]
playback/player: gtk-play: provide similar behaviour for quit and close
In x86 targets, gtk-play just pause rather than quitting the application
when we click the close button (delete-event). Change the callback function
to get similar behaviour when we click on "Quit" menu option.
Guillaume Desmottes [Wed, 20 Jul 2016 14:20:40 +0000 (16:20 +0200)]
playback/player: gtk: fix widget leak
The ref returned by gst_player_gtk_video_renderer_get_widget() was never
released.
Guillaume Desmottes [Wed, 20 Jul 2016 10:38:51 +0000 (12:38 +0200)]
playback/player: gtk: fix gtkglsink leak
The ref returned by gst_element_factory_make() was leaked.
Guillaume Desmottes [Wed, 20 Jul 2016 09:43:51 +0000 (11:43 +0200)]
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.
Sebastian Dröge [Tue, 10 May 2016 19:01:54 +0000 (22:01 +0300)]
playback/player: android: Update build tools version and ship gradle wrapper script
Emmanuel Imbernon [Mon, 28 Mar 2016 15:09:59 +0000 (17:09 +0200)]
playback/player: ios: Sync gst_ios_init.[mh] with latest version
Fixes https://github.com/sdroege/gst-player/pull/154
Mariusz Wasak [Tue, 22 Mar 2016 14:45:36 +0000 (15:45 +0100)]
playback/player: Changing icons names to make it visible on gtk player
Fixes https://github.com/sdroege/gst-player/pull/150
Mariusz Wasak [Wed, 16 Mar 2016 14:45:17 +0000 (15:45 +0100)]
playback/player: gtk: Change True to glib TRUE to make gtk player project compile
https://github.com/sdroege/gst-player/pull/149
Arun Raghavan [Fri, 5 Feb 2016 03:15:44 +0000 (08:45 +0530)]
playback/player: android: Move to gradle based build
Sebastian Dröge [Wed, 6 Jan 2016 22:22:26 +0000 (00:22 +0200)]
playback/player: android: Register native_stop() with JNI
https://github.com/sdroege/gst-player/issues/143
Sebastian Dröge [Mon, 4 Jan 2016 08:11:20 +0000 (10:11 +0200)]
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.
Sebastian Dröge [Mon, 4 Jan 2016 07:59:40 +0000 (09:59 +0200)]
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.
Sebastian Dröge [Tue, 22 Dec 2015 11:08:53 +0000 (12:08 +0100)]
playback/player: android: Fix compilation
Sebastian Dröge [Wed, 9 Dec 2015 07:48:38 +0000 (09:48 +0200)]
playback/player: android: Allow building for multiple Android ABIs
Sebastian Dröge [Fri, 13 Nov 2015 09:36:52 +0000 (10:36 +0100)]
playback/player: android: Don't do custom surface width/height calculations if we have no media width/height
Sebastian Dröge [Fri, 13 Nov 2015 09:36:24 +0000 (10:36 +0100)]
playback/player: android: Add more URI schemes, mimetypes and file extensions
Based on the AndroidManifest.xml of VLC for Android.
Sebastian Dröge [Mon, 9 Nov 2015 20:35:57 +0000 (21:35 +0100)]
playback/player: gtk: Remove double assignment of a variable
KimTaeSoo [Thu, 29 Oct 2015 15:55:02 +0000 (00:55 +0900)]
playback/player: Add project files for Win32 build environment.
This commit includes project files for Win32/Win64 build environment (Visual
Studio 12). To build this project, GStreamer packages for Windows
(http://gstreamer.freedesktop.org/data/pkg/windows/) should be installed. To
run excutable, add "%GSTREAMER_1_0_ROOT_X86%\bin" or
"%GSTREAMER_1_0_ROOT_X86_64%\bin" to environment variable "Path"
caseten [Sat, 7 Nov 2015 20:09:47 +0000 (13:09 -0700)]
playback/player: android: Fix typo for restricted codecs plugin
Sebastian Dröge [Fri, 6 Nov 2015 10:04:17 +0000 (11:04 +0100)]
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.
Sebastian Dröge [Fri, 6 Nov 2015 10:04:14 +0000 (11:04 +0100)]
playback/player: Revert "android: Fix Windows build of the app"
This reverts commit
5d8c1868beec85ac02bcc6e0bfd0ad9dbb99a3b8.
The gradle based build system has various problems currently.
Sebastian Dröge [Fri, 6 Nov 2015 10:03:56 +0000 (11:03 +0100)]
playback/player: Revert "README.md formatting."
This reverts commit
499f68c42371081204b6285227073a7eb165c652.
The gradle based build system has various problems currently.
Justin Kim [Wed, 4 Nov 2015 10:59:23 +0000 (19:59 +0900)]
playback/player: gtk-play: change print format of guint64
guint64 type usually corresponds with 'G_GUINT64_FORMAT'.
Alexandre Moreno [Sun, 1 Nov 2015 17:48:08 +0000 (01:48 +0800)]
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.
Alexandre Moreno [Sun, 1 Nov 2015 08:32:55 +0000 (16:32 +0800)]
playback/player: qt: accept a list of uris or files as command line parameters
Alexandre Moreno [Sun, 1 Nov 2015 08:30:43 +0000 (16:30 +0800)]
playback/player: qt: add simple playlist support and wire buttons
Alexandre Moreno [Sun, 1 Nov 2015 08:27:13 +0000 (16:27 +0800)]
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)
Alexandre Moreno [Sun, 1 Nov 2015 03:24:31 +0000 (11:24 +0800)]
playback/player: qt: seek while dragging seek bar
removed time label on top the seek bar, should be placed elsewhere
Alexandre Moreno [Sat, 31 Oct 2015 03:09:27 +0000 (11:09 +0800)]
playback/player: qt: do not hide playbar if it contains cursor
Sebastian Dröge [Tue, 27 Oct 2015 17:01:58 +0000 (19:01 +0200)]
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
Alexandre Moreno [Tue, 27 Oct 2015 16:43:03 +0000 (00:43 +0800)]
playback/player: qt: add a destructor and release resources
Fixes #129
Alex Moreno [Tue, 27 Oct 2015 09:32:27 +0000 (17:32 +0800)]
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.
Alexandre Moreno [Sat, 24 Oct 2015 17:18:01 +0000 (01:18 +0800)]
playback/player: qt: hide playbar properly
Fixes #120
Alexandre Moreno [Sat, 24 Oct 2015 13:55:37 +0000 (21:55 +0800)]
playback/player: qt: bind video item size to window
Fixes #119
Alexandre Moreno [Sat, 24 Oct 2015 13:47:38 +0000 (21:47 +0800)]
playback/player: qt: elide long titles
Fixes #121
Alexandre Moreno [Sat, 24 Oct 2015 05:28:10 +0000 (13:28 +0800)]
playback/player: qt: add position update interval property
Sebastian Dröge [Fri, 23 Oct 2015 18:54:05 +0000 (21:54 +0300)]
playback/player: qt: Fix -Wunused-variable compiler warnings
Alexandre Moreno [Thu, 22 Oct 2015 15:05:35 +0000 (23:05 +0800)]
playback/player: qt: add stream selection support
Alexandre Moreno [Tue, 6 Oct 2015 15:19:03 +0000 (23:19 +0800)]
playback/player: qt: emit player signals from Qt event loop
Alexandre Moreno [Thu, 11 Jun 2015 17:47:56 +0000 (01:47 +0800)]
playback/player: Add Qt bindings and player
Jimmy Ohn [Sun, 4 Oct 2015 08:09:44 +0000 (17:09 +0900)]
playback/player: gst-play: trivial cleanup
Sebastian Dröge [Mon, 21 Sep 2015 12:20:24 +0000 (14:20 +0200)]
playback/player: gtk-play: Run gst-indent
Hyunjun Ko [Thu, 17 Sep 2015 13:24:44 +0000 (22:24 +0900)]
playback/player: gtk-play: change to use valid macro function
Jimmy Ohn [Tue, 15 Sep 2015 13:00:03 +0000 (22:00 +0900)]
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.
Jimmy Ohn [Tue, 15 Sep 2015 12:54:38 +0000 (21:54 +0900)]
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.
Sebastian Dröge [Fri, 4 Sep 2015 15:11:25 +0000 (18:11 +0300)]
playback/player: gtk-play: Add compiler warning flags to the build and fix the warnings
Justin Kim [Thu, 3 Sep 2015 09:29:04 +0000 (18:29 +0900)]
playback/player: ios: remove implicit conversion of UIView to c pointer
Alexandre Moreno [Tue, 1 Sep 2015 16:53:46 +0000 (00:53 +0800)]
playback/player: gtk-play: Remove unused variable
Sebastian Dröge [Thu, 27 Aug 2015 07:53:43 +0000 (10:53 +0300)]
playback/player: gst-play: Remove useless variable initializations
They are set to something in the next line anyway.
Jimmy Ohn [Wed, 26 Aug 2015 09:57:13 +0000 (18:57 +0900)]
playback/player: gst-play: Check if the stream list is empty in print_all_stream_info before using it
Sebastian Dröge [Thu, 20 Aug 2015 07:50:30 +0000 (10:50 +0300)]
playback/player: gst-play: Fix leak of GError and GOptionContext on parsing errors
Sebastian Dröge [Tue, 18 Aug 2015 10:20:15 +0000 (13:20 +0300)]
playback/player: android: Fix video rendering after GstPlayerVideoRenderer refactoring
Sebastian Dröge [Tue, 18 Aug 2015 10:17:57 +0000 (13:17 +0300)]
playback/player: ios: Fix video rendering after GstPlayerVideoRenderer refactoring
trungdoan [Tue, 18 Aug 2015 09:34:19 +0000 (16:34 +0700)]
playback/player: iOS: Fix build issue
Fix build issue on iOS by adding additional files in lib/gst/player to
the iOS project.
Sebastian Dröge [Fri, 14 Aug 2015 15:13:39 +0000 (17:13 +0200)]
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.
Sebastian Dröge [Wed, 12 Aug 2015 14:00:15 +0000 (16:00 +0200)]
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.
Sebastian Dröge [Thu, 30 Jul 2015 12:54:26 +0000 (15:54 +0300)]
playback/player: gtk-play: Fix indention
Brijesh Singh [Thu, 30 Jul 2015 12:35:04 +0000 (07:35 -0500)]
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.
Brijesh Singh [Thu, 30 Jul 2015 03:52:28 +0000 (22:52 -0500)]
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.
Víctor Manuel Jáquez Leal [Wed, 8 Jul 2015 18:56:47 +0000 (20:56 +0200)]
playback/player: gtk-play: handle keys
Add a mplayer alike key-binding.
Víctor Manuel Jáquez Leal [Wed, 15 Jul 2015 17:52:39 +0000 (19:52 +0200)]
playback/player: gtk-play: remove unused callback
Víctor Manuel Jáquez Leal [Wed, 15 Jul 2015 17:18:11 +0000 (19:18 +0200)]
playback/player: gtk-play: remove unused variables
Brijesh Singh [Sat, 27 Jun 2015 01:42:31 +0000 (20:42 -0500)]
playback/player: gtk-play: add support to build UI through gtkbuilder
- build toolbar ui from glade generated xml files
- build media info dialog from glade generated xml files
- add support to apply css style on widget
- multiple cleanups
Sebastian Dröge [Tue, 16 Jun 2015 07:54:25 +0000 (09:54 +0200)]
playback/player: gtk-play: Add close button to the playback speed dialog
Brijesh Singh [Mon, 15 Jun 2015 15:10:14 +0000 (10:10 -0500)]
playback/player: gtk-play: add playback rate control menu item
Sebastian Dröge [Mon, 15 Jun 2015 18:55:29 +0000 (20:55 +0200)]
playback/player: gtk: Also use gtksink if available
Víctor Manuel Jáquez Leal [Thu, 11 Jun 2015 17:49:59 +0000 (19:49 +0200)]
playback/player: gtk-play: remove unused variables
Sebastian Dröge [Thu, 11 Jun 2015 16:52:12 +0000 (18:52 +0200)]
playback/player: gtk: Inhibit the screen saver when playing something
Sebastian Dröge [Thu, 11 Jun 2015 16:42:38 +0000 (18:42 +0200)]
playback/player: gtk: Port to GtkApplication
And also clean up some other things.
https://github.com/sdroege/gst-player/issues/56
Sebastian Dröge [Thu, 11 Jun 2015 14:25:49 +0000 (16:25 +0200)]
playback/player: gtk: Remove redundant code
Sebastian Dröge [Thu, 11 Jun 2015 13:11:23 +0000 (15:11 +0200)]
playback/player: gtk: Use gtkglsink if available
Brijesh Singh [Thu, 4 Jun 2015 11:51:14 +0000 (06:51 -0500)]
playback/player: gtk-play: use volume-changed signal from player to update the volume slider.
Víctor Manuel Jáquez Leal [Tue, 9 Jun 2015 15:38:15 +0000 (17:38 +0200)]
playback/player: gtk-play: color balance dialog
Sebastian Dröge [Thu, 11 Jun 2015 11:09:25 +0000 (13:09 +0200)]
playback/player: gtk: Only go to PLAYING with the next file if we were in PLAYING state before
Otherwise setting a subtitle URI in PAUSED will automatically go to PLAYING.
Víctor Manuel Jáquez Leal [Tue, 2 Jun 2015 11:03:06 +0000 (13:03 +0200)]
playback/player: gtk-play: remove unused variables
Víctor Manuel Jáquez Leal [Tue, 9 Jun 2015 15:37:50 +0000 (17:37 +0200)]
playback/player: gtk-play: destroy dialog's parent window
danny song [Wed, 3 Jun 2015 16:45:51 +0000 (01:45 +0900)]
playback/player: gtk-play: remove duplicate code