Commit graph

200 commits

Author SHA1 Message Date
Philippe Normand
e0c77b75cd gtk-play: Port to GstPlay
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/33>
2021-03-09 21:36:27 +00:00
Philippe Normand
840fcf43f5 gst-play: Port to GstPlay
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/33>
2021-03-07 17:59:35 +00:00
Stephan Hesse
50e61f52ed gst-play.c: update to signal-adapter constructor change
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/33>
2021-03-07 17:59:35 +00:00
Stephan Hesse
d5a183cc2f gst-play: use novel signal-adapter (requires gstplayer lib patch from https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/35)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/33>
2021-03-07 17:59:35 +00:00
Nirbheek Chauhan
43f8275ca9 playback: Remove libvisual plugin from iOS GstPlayer example
We won't be building the plugin in Cerbero anymore, so remove it from
the iOS example too. See:
https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/605

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/26>
2020-09-19 11:45:30 +05:30
Seungha Yang
61d200a957 Port to gst_print* family
g_print* would print broken string on Windows
See also https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/258

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/20>
2020-07-27 16:28:33 +09:00
Nirbheek Chauhan
8b90dd949a Cerbero has moved from gnutls+openssl to only openssl 2020-03-03 08:03:31 +05:30
Stéphane Cerveau
e6bbe6fd7a ios: use dash to register plugin
The dash plugin contains now:

- dashdemux
- dashsink

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/704
2020-01-03 21:34:10 +00:00
Matthew Waters
35da788bd3 player/ios: update for minimum iOS 11
https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/356
2019-12-03 13:24:42 +11:00
Nirbheek Chauhan
3f54c90b7a meson: gtk player example is optional 2019-09-10 08:34:43 +00:00
Matthew Waters
8585a5f2b1 player/ios: add empty ssl directory
The iOS build requires it.
2019-08-29 20:42:59 +10:00
Matthew Waters
1ead809fca build: add meson fallbacks for use in gst-build 2019-06-11 16:55:57 +10:00
Matthew Waters
28fdf37d17 run gst-indent over c files 2019-03-26 16:09:29 +11:00
Matthew Waters
75122bd55b player/android: add the google repository for all projects
Allows building from the command line
2019-03-24 20:15:06 +11:00
Matthew Waters
9c50d0e6ae playback/ios: update gst_ios_init to the latest version 2019-03-21 00:47:32 +11:00
Matthew Waters
6408a4cd35 player/ios: Update for XCode 10 2019-03-21 00:38:27 +11:00
Tim-Philipp Müller
ef7abd54a8 ios: update for gio modules and GTlsBackend changes
Untested, based on https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/103

Fixes https://gitlab.freedesktop.org/gstreamer/gst-examples/issues/5
2019-02-07 11:15:59 +00:00
Matthew Waters
2b3fc175c2 player/qt: move player api wrapper into a qml extension library
A further step is moving the qmlglsink element into an extension so
there is no need for writing any c++ code!
2018-12-12 14:00:48 +11:00
H1Gdev
ddb40e9e39 playback/player/android: Update build.gradle
Merge the following fixes from gst-docs
https://bugzilla.gnome.org/show_bug.cgi?id=797070
https://bugzilla.gnome.org/show_bug.cgi?id=797093

https://bugzilla.gnome.org/show_bug.cgi?id=797107
2018-09-10 10:28:17 +03:00
H1Gdev
0e53ae084b playback/player/android: Package name does not correspond to file path
https://bugzilla.gnome.org/show_bug.cgi?id=797079
2018-09-05 10:27:43 +03:00
Olivier Crete
697458e91e Update iOS project for newer XCode and embed-bitcode
Forces the GCC libstdc++ instead of LLVM libc++ and
updates the settings with the new recommended XCode settings.
2018-05-06 10:57:04 +02:00
Stephan Hesse
4e66ccac60 ios player: add HLS test streams from video-dev (Hls.js org) 2018-05-04 14:22:23 +02:00
Stephan Hesse
4a62c09504 ios playback: introduce macro to enable photos/ library
Until now the photo library integration is broken (that API was
deprecated by Apple) and the iTunes integration is better to have
optional to put our test files in the forefront (and have better way to
browse large iTunes libs).
2018-05-04 14:22:23 +02:00
Stephan Hesse
a9a8e36475 ios playback: Xcode project: Force Dwarf debug symbols (build time speedup)
Until now it was using dSYM by default. Each build was taking forever.
2018-05-04 14:22:23 +02:00
Stephan Hesse
30e730bccc ios playback: initialize slider value (position) at 0 at first
Until now the slider was displaying center position before playback was
started.
2018-05-04 14:22:23 +02:00
Stephan Hesse
49c92a9752 ios playback: initialize slider min/max values at zero at first 2018-05-04 14:22:23 +02:00
Stephan Hesse
5188475abd ios playback: remove time_slider.frame forced set (fix for non-functional slider UI)
It's unclear why this line was there, but it renders the slider
unresponsive currently
2018-05-04 14:22:23 +02:00
Philippe Normand
d6c033bf92 playback/android: Update the sample application for GStreamer 1.14
Gradle was also updated to a more recent version. The x86_64 abi
is disabled temporarily due to build failures reported in:
https://bugzilla.gnome.org/show_bug.cgi?id=795454

https://bugzilla.gnome.org/show_bug.cgi?id=795456
2018-04-24 11:11:22 +01:00
Matthew Waters
fed396ff8e playback/android: expose after setting the window handle
Fixes the view not updating in PAUSED after a surface change from an
orientation change/explicit surface change.
2017-10-12 16:28:47 +11:00
Matthew Waters
9dfe9fb41d player/ios: constrain the bottom of the video view to the top of the toolbar
Otherwise, no video output on iPad.
2017-08-17 19:31:51 +10:00
Sebastian Dröge
e88c04ff34 gst-play: Fix more deprecation warnings 2017-08-08 12:02:39 +03:00
Philippe Normand
d23171fbdf gtk-play: fix deprecation warnings 2017-08-08 12:01:34 +03:00
Simon Himmelbauer
9ebe002f51 playback/player/ios: Updated the iOS example in order to be compatible with the latest GStreamer as well as Apple Hardware
-) Disabled bitcode generation
-) Removed/Renamed several plugins in the gst_ios_init.m
2017-05-23 17:34:23 +03:00
Jan Schmidt
1e0b3ed778 Don't crash if no uri is passed in the intent
If we receive an intent with no attached data, don't
throw a null pointer exception - just don't set a URI
on the player.
2017-05-20 17:30:08 +02:00
Jan Schmidt
1116ae85e2 Play.java: Don't lookup R.id.surface_video twice.
R.id.surface_video was stored in the gsv variable just
above, don't look it up a second time.
2017-05-20 17:28:41 +02:00
Jan Schmidt
0436ec5b1c Support GSTREAMER_ROOT_ANDROID env var
If GSTREAMER_ROOT_ANDROID is set, try using
that for the location of the GStreamer Android tree,
but still allow it to be overridden in local
gradle properties
2017-05-20 17:28:17 +02:00
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
Víctor Manuel Jáquez Leal
d909deaaf4 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
2017-05-02 14:11:30 +03:00
Víctor Manuel Jáquez Leal
dbb0375bfe 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
2017-05-02 14:11:30 +03:00
Víctor Manuel Jáquez Leal
ff1a6546da 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
2017-05-02 14:11:30 +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
Arun Raghavan
71d85d3393 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.
2017-04-03 13:23:50 +05:30
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
Arun Raghavan
e17b52b501 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.
2017-01-06 19:00:17 +05:30
Arun Raghavan
0ede8b3796 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.
2017-01-02 11:21:11 +05:30
Sebastian Dröge
4cd72781af playback/player/android: Add .gitignore 2016-10-03 13:15:27 +03:00
Sebastian Dröge
8b0ea8257f playback/player/android: Switch to native gradle ndk-build support
Based on a patch by Olivier Crete for another project
  be9470a7e1
2016-10-03 13:15:19 +03:00
Arun Raghavan
a5cdde9119 playback/player/android: Switch to building against universal packages 2016-09-04 10:12:52 +03:00
Sebastian Dröge
fc41dd802f Add meson build system for playback/player/{gst-play,gtk} and network/http-launch 2016-08-26 19:02:24 +03:00
Sebastian Dröge
f6cf0dd997 playback/player: gtk: Remove unused variable 2016-08-23 23:48:26 +03:00