Commit graph

18 commits

Author SHA1 Message Date
Be
16d0e140a7 GStreamer example: add clarifying comment
Some checks are pending
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.85) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
2025-07-30 10:06:08 +02:00
Be
ddd6747595 GStreamer example: add comment
This should be helpful to readers unfamiliar with GStreamer and GLib.
2025-07-30 10:06:08 +02:00
Be
07bde8ba02 GStreamer example: minor readability improvement 2025-07-30 10:06:08 +02:00
Be
59e4d671d8 GStreamer example: remove anyhow
make the code easier to reuse without bringing in this
unnecessary dependency
2025-07-30 10:06:08 +02:00
Be
ed2f0b12cd GStreamer example: return sink element
A more complex application is probably going to need to use this
somehow.
2025-07-30 10:06:08 +02:00
Be
50b8397864 GStreamer example: fix clippy warnings 2025-07-30 10:06:08 +02:00
Be
2d6a9c65d3 GStreamer example: move video sink setup to a submodule
This makes it easier to reuse in a larger application.
2025-07-30 10:06:08 +02:00
Be
25d07d0dfc GStreamer example: add buffering indicator
also make clicking anywhere toggle play/pause
2025-07-29 20:33:39 +02:00
Simon Hausmann
9fcb07f508 gstreamer example: Move the bus sender instead of cloning 2025-07-29 19:20:55 +02:00
Be
956a813e26 GStreamer example: remove unnecessary breaks
Quitting the Slint event loop is also a break because this future
is being polled on Slint's event loop.
2025-07-29 19:20:23 +02:00
Be
a87f2b9c73 GStreamer example: fix play/pause button
keep its state in sync with GStreamer's state
2025-07-29 19:20:23 +02:00
Be
ac971a8027 GStreamer example: handle messages from pipeline bus
How to do this is not straightforward, so it is helpful to have in
the example.
2025-07-29 13:05:03 +02:00
Simon Hausmann
2edd97bf8b gstreamer-player: Make the EGL integration easier to re-use
By not requiring a pipeline and having a lower-level SlintOpenGLSink type,
it's easier to re-use this code in application code that for example doesn't use playbin.
2025-01-17 14:14:02 +01:00
Simon Hausmann
6d475603d2 Rework the gstreamer example
- Play a real video, not just the test source.
- Provide an egl integration on Linux.
  Based on commit c3596baa0c, further fixed
  up by Sebastian Dröge <sebastian@centricular.com>
2025-01-17 11:54:43 +01:00
Simon Hausmann
438ebae52e gtreamer-player: minor cleanup
Since we're in a callback invoked from within the event loop, we don't
need to us upgrade_in_event_loop().
2025-01-17 07:32:50 +00:00
OwerPlay
ae25c64ac0 Implemented Play/Pause for gstreamer example 2025-01-17 08:28:15 +01:00
Simon Hausmann
d7b44d2686 Bump gstreamer dependencies 2025-01-13 12:45:38 +01:00
Simon Hausmann
7d58819f31 Rename gstreamer_player to streamer-player
That's the new style :) (we also use for energy-monitor, slint-lsp,
etc.)
2024-02-07 11:22:48 +01:00
Renamed from examples/gstreamer_player/main.rs (Browse further)