Commit graph

3432 commits

Author SHA1 Message Date
Sebastian Dröge
c56e9ddfea Also implement copy() returning the wrapper miniobject on the reference type
This way CapsRef::copy() will return a Caps, and not a GstRc<CapsRef>.
2018-10-05 16:36:15 +03:00
Sebastian Dröge
9265cc8232 Correctly generate VideoOverlayFormatFlags as flags 2018-10-04 11:39:15 +03:00
Sebastian Dröge
a273ab7944 Correctly generate GstVideoOverlayFormatFlags as flags type 2018-10-04 11:38:19 +03:00
Sebastian Dröge
30b9527112 Implement ::copy() directly on miniobject wrapper types
This provides the additional wrapping as the one via get via deref will
only give back a GstRc<T> without the additional wrapping.
2018-10-03 16:54:00 +03:00
Sebastian Dröge
8f71a81cb5 Regenerate with latest gir to get rid of unneeded notify signal connectors for construct-only properties 2018-10-03 13:57:07 +03:00
Sebastian Dröge
0f704646f6 Add more complete bindings for allocation query
Everything apart from allocators are covered now.
2018-10-01 22:56:32 +03:00
Sebastian Dröge
35353445de VideoOverlayComposition is supposed to be immutable
So remove the add() function and instead require an
IntoIterator<Item=&VideoOverlayRetangle> in the constructor, and require
at least one item in the iterator or return None.
2018-10-01 14:52:31 +03:00
Sebastian Dröge
6d5bded7b3 Get rid of lifetime for the Meta structs
The structs themselves don't reference the buffer, the reference to
these structs is borrowed from the buffer.
2018-09-30 01:17:12 +03:00
Sebastian Dröge
7270a837d1 Fix namespace error in previous commit 2018-09-29 12:19:47 +03:00
Sebastian Dröge
62074ba1ed Add bindings for VideoMeta and VideoOverlayCompositionMeta 2018-09-29 12:01:26 +03:00
Sebastian Dröge
cb23d20270 Implement support for buffer Metas
Fixes https://github.com/sdroege/gstreamer-rs/issues/103
2018-09-29 11:44:55 +03:00
Sebastian Dröge
2d1fa498c1 Fix annotations for gst_buffer_add_video_meta_full() 2018-09-29 11:25:52 +03:00
Sebastian Dröge
ad62d08d65 Implement Display for Caps and TagList 2018-09-28 19:14:35 +03:00
Sebastian Dröge
2b029bcdd4 Remove unused imports 2018-09-28 18:15:29 +03:00
Sebastian Dröge
6fd0ed4cb3 Move all minobjects to newtype wrapper types
For consistency with external crates and to help rustdoc, which gets
confused on impl blocks for type aliases.
2018-09-28 18:11:46 +03:00
Sebastian Dröge
26ee546d1a Always derive Clone for miniobject wrappers 2018-09-28 17:42:52 +03:00
Sebastian Dröge
0b58bf5c2f Add bindings for VideoOverlayComposition and VideoOverlayRectangle
... the missing file.
2018-09-28 17:42:45 +03:00
Sebastian Dröge
cfe1bd452f Add bindings for VideoOverlayComposition and VideoOverlayRectangle 2018-09-28 17:37:27 +03:00
Sebastian Dröge
74024447fe Add macro to define newtype wrappers around MiniObjects
To allow implementing them in a meaningful way in external crates.
2018-09-28 17:37:27 +03:00
Sebastian Dröge
bc8da095c3 Add functions to get the FFI pointer behind a VideoFrame/VideoFrameRef 2018-09-28 17:35:48 +03:00
Sebastian Dröge
f1f278271e Run tests on travis with G_DEBUG=fatal_warnings 2018-09-28 13:15:18 +03:00
Sebastian Dröge
a43c78f2c5 Run everything through rustfmt 2018-09-28 13:15:18 +03:00
Sebastian Dröge
564f9faf84 Add support for CapsFeatures
Fixes https://github.com/sdroege/gstreamer-rs/issues/13
2018-09-28 13:15:18 +03:00
Víctor Manuel Jáquez Leal
4294d8cea9 gl: fix metadata, name and version handling 2018-09-24 17:02:51 +03:00
Víctor Manuel Jáquez Leal
3ea0419e57 cargo: add gstreamer-gl-sys workspace 2018-09-24 17:02:51 +03:00
Víctor Manuel Jáquez Leal
b4739d2be4 add gstreamer-gl-sys crate 2018-09-24 17:02:51 +03:00
Víctor Manuel Jáquez Leal
9f5821fa62 gir-files: modifications to GstGL-1.0.gir 2018-09-24 17:02:51 +03:00
Víctor Manuel Jáquez Leal
d079a32650 gir-files: add script which fixes gir files 2018-09-24 17:02:51 +03:00
Víctor Manuel Jáquez Leal
2b0c3507b4 gir: import GstGL-1.0.gir from Debian 2018-09-24 17:02:51 +03:00
Sebastian Dröge
857ed8609c Structure is Sync, and StructureRef is Send+Sync 2018-09-22 11:00:17 +03:00
Sebastian Dröge
255243c16a Implement Sync for VideoInfo and AudioInfo
They are immutable on the Rust side after all.
2018-09-22 10:56:25 +03:00
Sebastian Dröge
edd3178656 Add libwayland-egl1-mesa to travis dependencies 2018-09-21 17:45:38 +03:00
Sebastian Dröge
3be4dc56b3 Update travis to use GStreamer 1.14.3 binaries (including OpenGL library) 2018-09-21 17:45:23 +03:00
Sebastian Dröge
549ad086d5 Update travis to use GStreamer 1.14.3 binaries (including OpenGL library) 2018-09-21 17:31:18 +03:00
Sebastian Dröge
05b591c709 Update CHANGELOG.md for 0.12.1 2018-09-21 11:43:01 +03:00
Sebastian Dröge
0628961c94 Add bindings for is_video_overlay_prepare_window_handle_message() 2018-09-13 22:56:47 +03:00
Sebastian Dröge
6cf34b1b39 Add VideoOverlay::prepare_window_handle() and got_window_handle() 2018-09-13 22:53:13 +03:00
Sebastian Dröge
0ddab16801 Update versions to 0.13.0 2018-09-10 01:54:25 +03:00
Sebastian Dröge
7606e6f346 Add README.md to gstreamer-webrtc 2018-09-10 01:54:07 +03:00
Sebastian Dröge
a2a7eac8a8 Update CHANGELOG.md for 0.12.0 2018-09-10 01:54:07 +03:00
Sebastian Dröge
3a668fd0a1 Update version to 0.7.0 2018-09-10 01:34:53 +03:00
Sebastian Dröge
d44c09f12b Update CHANGELOG.md for 0.6.0 2018-09-10 01:34:04 +03:00
Víctor Manuel Jáquez Leal
fdcc8ff36e Regenerate everything with latest GIR 2018-09-07 19:41:45 +03:00
Víctor Manuel Jáquez Leal
1eb7832602 Update gir 2018-09-07 19:41:45 +03:00
Víctor Manuel Jáquez Leal
7386cdad1e Update gir-files to 1.14.2
Using Debian gir files
2018-09-07 19:41:45 +03:00
Víctor Manuel Jáquez Leal
c3235e87d0 Remove GObject dependency in Gir_GstApp.toml 2018-09-07 19:41:45 +03:00
Víctor Manuel Jáquez Leal
eddee893bc remove unused GstTag dependency in audio y pbutils 2018-09-07 19:41:45 +03:00
Víctor Manuel Jáquez Leal
9a490b9c28 webrtc: gstreamer as aliased external libraries
Otherwise gir will not add as external crate gst_sys which doesn't
exist, but gstreamer_sys.
2018-09-07 19:41:45 +03:00
Víctor Manuel Jáquez Leal
4bbd7fefc6 Update gir-files to 1.14.2
Using Debian gir files
2018-09-07 19:17:32 +03:00
Sebastian Dröge
08dcd9f22e Update ron dependency (for tests) to 0.4 2018-09-06 14:10:30 +03:00