Sebastian Dröge
|
5c2de6aeb6
|
gtk4: Update for GLDisplay object lock requirements
|
2023-02-06 11:10:02 +02:00 |
|
Sebastian Dröge
|
c7209dbd4f
|
Return exit code from gio::Application::run() from main()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1065>
|
2023-01-27 18:50:01 +00:00 |
|
Sebastian Dröge
|
62bfc545d3
|
gtk4: Fix compilation after gst_gl::Display API changes
|
2023-01-27 20:46:22 +02:00 |
|
Sebastian Dröge
|
3b4c48d9f5
|
Fix various new clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1062>
|
2023-01-25 10:31:19 +02:00 |
|
Sebastian Dröge
|
b6af64b970
|
gtk4: Only provide a buffer pool to upstream if it requested one
|
2023-01-19 16:37:02 +02:00 |
|
Sebastian Dröge
|
d1196c3e28
|
gtk4: Update for allocation query caps API changes
And make no caps into a non-error.
|
2023-01-19 16:36:37 +02:00 |
|
Sebastian Dröge
|
03df4f253c
|
gtk4: Asynchronously flush frames from GDK
There is no need to wait until the frames are flushed as the textures
will be kept alive until GDK is finished with them, and doing so can
cause deadlocks.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/287
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1052>
|
2023-01-19 13:53:21 +02:00 |
|
Sebastian Dröge
|
b161f56a5c
|
gtk4: Keep GstGLMemory alive as long as it is used inside GDK
Otherwise the texture might be released in the meantime and GDK would
use an invalid GL texture ID.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/287
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1052>
|
2023-01-19 13:51:57 +02:00 |
|
Sebastian Dröge
|
4464bf2eaa
|
Update for gtk::Application constructor API changes
|
2023-01-16 11:51:10 +02:00 |
|
Sebastian Dröge
|
6132788b02
|
Update for caps/structure-related string API changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1048>
|
2023-01-15 22:58:44 +02:00 |
|
Sebastian Dröge
|
58c21d9868
|
gtk4: Propagate the GL display to the remainder of the pipeline
This allows sharing it with other parts of the pipeline and avoids
creating different, incompatible displays/contexts in different parts of
the pipeline.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1037>
|
2023-01-07 12:42:42 +02:00 |
|
Sebastian Dröge
|
439ada614c
|
gtk4: Rename a variable to make more sense
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1032>
|
2022-12-29 11:13:25 +02:00 |
|
Sebastian Dröge
|
f72540f5c2
|
gtk4: Handle more GL context creation failures gracefully
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1032>
|
2022-12-29 11:13:25 +02:00 |
|
Sebastian Dröge
|
9ec06199b1
|
gtk4: Reset app context and display if GL context creation fails
No need to keep them around and that way we either have all 3 values set
or none of them.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1032>
|
2022-12-29 11:13:25 +02:00 |
|
Sebastian Dröge
|
4ee70913bd
|
gtk4: Reduce number of unwraps during GL context creation and query handling
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1032>
|
2022-12-29 11:13:25 +02:00 |
|
Jordan Petridis
|
cf0ba40115
|
video/gtk4: Fix typo in info logs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1030>
|
2022-12-29 02:59:26 +00:00 |
|
Nirbheek Chauhan
|
9ee7118bf6
|
gtk4: Remove 'gst' prefix from another debug category
Missed it last time. Caught all of them this time. Continuation from:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1029
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1025>
|
2022-12-28 23:55:10 +05:30 |
|
Nirbheek Chauhan
|
06123d74ba
|
gtk4: Use GL implicitly without the gst_gl feature on macOS
We already require gstreamer-gl as a dependency on macOS, so reflect
that in the code too.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1025>
|
2022-12-28 23:55:10 +05:30 |
|
Sebastian Dröge
|
4fe0786bbd
|
gtk4: Add support for GL on macOS
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1025>
|
2022-12-28 23:55:10 +05:30 |
|
Nirbheek Chauhan
|
ae9ac872c0
|
gtk4: Remove 'gst' from gtksink debug category name
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1029>
|
2022-12-28 19:38:57 +05:30 |
|
Sebastian Dröge
|
ca17c9bc4f
|
gtk4: Release GStreamer GL context and display when going back to NULL state
And acquire it again next time when going to READY state.
Also clean up the whole GL context initialization.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1024>
|
2022-12-22 22:56:48 +00:00 |
|
Sebastian Dröge
|
1026949b2b
|
gtk4: Use glib::ThreadGuard instead of the fragile crate
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/272
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1024>
|
2022-12-22 22:56:48 +00:00 |
|
Sebastian Dröge
|
52764e140e
|
gtk4: Don't try to use GL mapped video frames as raw RGB memory
This will fail badly because the memory pointers are actually GL texture
IDs, however this case can't really happen in practice so simply assert
on this.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1024>
|
2022-12-22 22:56:48 +00:00 |
|
Sebastian Dröge
|
30e501e7b0
|
gtk4: Don't error out when the main context channel does not exist anymore when rendering
But instead return flushing to shut down silently.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1024>
|
2022-12-22 22:56:48 +00:00 |
|
Sebastian Dröge
|
0c8e69ed7c
|
gtk4: Flush frames from the paintable when shutting down the sink
Otherwise it will continue showing the last frames forever and keep
around the frames forever instead of rendering black.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/281
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1024>
|
2022-12-22 22:56:48 +00:00 |
|
Sebastian Dröge
|
65efdc8c81
|
gtk4: Only require GTK 4.6 if GL support is enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1007>
|
2022-12-12 13:49:14 +02:00 |
|
Sebastian Dröge
|
a077ecba85
|
gtk4: Deactivate application GL context again after fill_info()
It does not need to be activate anymore, and keeping it active can cause
problems.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1001>
|
2022-12-12 10:51:15 +02:00 |
|
Jordan Petridis
|
37b0dab0e8
|
gtk4: Deactivate the context if we fail to fill_info
Avoid leaving the context activated if we end up erroring out.
Similar to https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3492
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1001>
|
2022-12-12 10:51:09 +02:00 |
|
Sebastian Dröge
|
8c457cfa04
|
gtk4: example: Use a bin with a videoconvert in the non-GL case
The sink only supports RGB formats in that case, which decoders rarely
would output.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/995>
|
2022-11-30 11:59:53 +02:00 |
|
Sebastian Dröge
|
599d3a4d8a
|
gtk4: Make GL support fully optional
Don't depend on gstreamer-gl if it's not enabled, and don't try doing
anything with the GDK GL context at all.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/995>
|
2022-11-30 11:59:53 +02:00 |
|
Jordan Petridis
|
975f0141be
|
video/gtk4: Implement support for GLTextures when possible.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/588>
|
2022-11-29 21:18:46 +02:00 |
|
Jordan Petridis
|
51c34267a9
|
video/gtk4: Restrict visibility of struct related to the Frame
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/588>
|
2022-11-29 21:06:12 +02:00 |
|
Jordan Petridis
|
ea6c59e5e9
|
video/gtk4: Rename Object types and struct to something simpler
Avoid the confusion caused by SinkPaintable and PaintableSink,
and instead refer to the objects as Paintable for the GdkPaintable
subclass or PaintalbeSink for the gst element.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/588>
|
2022-11-29 21:06:12 +02:00 |
|
Sebastian Dröge
|
a8250abbf1
|
Fix various new clippy warnings
|
2022-11-01 10:27:48 +02:00 |
|
Sebastian Dröge
|
f2223cf2cb
|
Update versions to 0.10.0-alpha.1
|
2022-10-24 19:31:19 +03:00 |
|
Sebastian Dröge
|
9a68f6e221
|
Move from imp.instance() to imp.obj()
It's doing the same thing and is shorter.
|
2022-10-23 23:08:46 +03:00 |
|
Sebastian Dröge
|
f045099fc1
|
Fix GObject type names, GStreamer debug category names and element factory names
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/198
|
2022-10-23 20:46:08 +03:00 |
|
Sebastian Dröge
|
20ad9175d8
|
Make GStreamer plugin/crate/library/directory names and descriptions consistent
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/238
|
2022-10-23 20:25:08 +03:00 |
|
Sebastian Dröge
|
f058a5e229
|
Various minor cleanups
|
2022-10-22 19:50:24 +03:00 |
|
Sebastian Dröge
|
12400b6b87
|
Update everything for element factory builder API changes
And set properties as part of object construction wherever it makes
sense.
|
2022-10-19 19:43:29 +03:00 |
|
Sebastian Dröge
|
59daaa62aa
|
gtk4: Update to fragile 2.0
|
2022-10-19 11:31:00 +03:00 |
|
Vivia Nikolaidou
|
f11b0fa5eb
|
plugins, examples, tutorials: Use AudioCapsBuilder and VideoCapsBuilder
Simplify caps creation code
|
2022-10-13 19:24:57 +00:00 |
|
Sebastian Dröge
|
7ee4afacf4
|
Change *Impl trait methods to only take &self and not Self::Type in addition
|
2022-10-10 15:03:25 +03:00 |
|
Sebastian Dröge
|
4c57a97d4d
|
Update for glib::Object::new() API changes
|
2022-10-07 23:54:53 +03:00 |
|
Nirbheek Chauhan
|
1d4d3e4cb0
|
build: Update versions to be 0.9.0-alpha.1
0.9.0 is the next release, so we can't name things that already.
Also the version in meson.build was 0.13.0, which is completely wrong.
|
2022-10-04 21:27:23 +05:30 |
|
Sebastian Dröge
|
1a40186485
|
Update for GLib ParamSpec builder API changes
|
2022-09-05 11:45:47 +03:00 |
|
Sebastian Dröge
|
46dddaf31c
|
Update minimum supported Rust version to 1.63
|
2022-09-04 21:31:55 +03:00 |
|
Thibault Saunier
|
67e651f57c
|
Allow "unused_doc_comments" as we use hotdoc and not rustdoc
|
2022-08-29 18:33:22 -04:00 |
|
Thibault Saunier
|
31a53bba8a
|
Generate plugins documentation using hotdoc
Which will automatically be integrated in gstreamer documentation
|
2022-08-29 18:33:22 -04:00 |
|
Vivia Nikolaidou
|
5606111345
|
plugins: Simplify code using ParamSpecBuilder
|
2022-08-22 17:58:43 +03:00 |
|