Commit graph

3856 commits

Author SHA1 Message Date
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
Víctor Manuel Jáquez Leal
25142fc3b5 generator.py: change heuristic to modify Cargo.toml
It is easy to forget to add the final comma in the last item in
the workspace member list, thus the current heuristic breaks the
Cargo.toml parsing.

Instead of trying to append the gir item, it is inserted at
position end-2, avoiding the previous described situation.
2018-09-06 11:56:48 +03:00
Sebastian Dröge
3119593292 Add pango-cairo example 2018-08-30 11:14:59 +03:00
Sebastian Dröge
2e139bd202 Update CHANGELOG.md for 0.11.6 2018-08-27 10:04:16 +03:00
Arun Raghavan
acdc837a15 examples: Explicitly define [bin] section for discoverer 2018-08-18 11:45:10 +03:00
Sebastian Dröge
3c900e6102 Regenerate with latest gir 2018-08-18 00:25:12 +03:00
Sebastian Dröge
06bd23f833 Fix compilation of iterator example 2018-08-13 23:46:22 +03:00
Sebastian Dröge
a6d9fe4b0a Remove std::iter::Iterator impl from gst::Iterator
It does not work well with possibly errors during iteration and
requiring to possibly resync.
2018-08-13 20:35:28 +03:00
Sebastian Dröge
0d70950821 Implement Pad::sticky_events_foreach() 2018-08-13 19:58:30 +03:00
Sebastian Dröge
999c84f0a0 Implement ValueExt::compare() around std::cmp::Ordering and implement an eq() function
No need for a custom enum
2018-08-10 14:22:15 +03:00
Sebastian Dröge
dba110e8ad Fix build with two-phase-borrows/NLL 2018-08-08 09:16:18 +02:00
Sebastian Dröge
cf9e875878 Implement Ord/PartialOrd on Seqnum 2018-08-06 11:25:44 +03:00
Philippe Normand
58741b7ea2 gstreamer: Implement deinit() function
This function is especially usefull when using the leaks tracer. It was removed
in commit e7a0543c.
2018-08-04 18:39:53 +03:00
Sebastian Dröge
ccca8248c3 Add getter for the current pad mode 2018-08-01 19:28:57 +03:00
Sebastian Dröge
9e90a1264f Add getter for the aggregator pad segment 2018-08-01 19:24:54 +03:00
Sebastian Dröge
c7fa48984e Aggregator is only available from gstreamer-base since 1.14 2018-07-31 00:05:40 +03:00
François Laignel
0eb6bcf0c0 serde: restrain unneeded visibilities 2018-07-30 23:18:30 +03:00
François Laignel
68263ffc7d Buffer: serde: add a TODO for a future better design attempt
Serialization and deserialization are asymetrical: ser uses string literals
and de uses a dedicated `struct`, leading to possible inconsistencies.

The idea is to rely on a single `struct` for both ser and de. The only
problem is that, in order to avoid unneeded copies, `buffer` requires an owned
`ByteBuf` for de and a borrowed `Bytes` for ser. `Either` could help adapting
to both situations.
2018-07-30 23:18:30 +03:00
François Laignel
3ed7257da9 DateTime: serde: use an enum 2018-07-30 23:18:30 +03:00
François Laignel
9fd5392a16 value: serde: use stringify for types 2018-07-30 23:18:30 +03:00
François Laignel
6bda3ef174 serde: add roundtrip tests
This allows making sure serialization and deserialization are in sync for
types with asymetrical implementations.
2018-07-30 23:18:30 +03:00
François Laignel
64ea419839 Caps: serde as an enum
`Caps` can be `any`, `empty` or matching a list of `Structures`.
2018-07-30 23:18:30 +03:00
François Laignel
9f2f684188 format: serde: avoid redundant () for some types 2018-07-30 23:18:30 +03:00
François Laignel
dfc961679f segment: serde FormattedSegments too
... and use the same `struct` for serialization and deserialization so
that fields mapping consistency is ensured at compilation time.
2018-07-30 23:18:30 +03:00
François Laignel
ab9cd29bd6 serde: fmt pass
Note: clippy didn't raise any warning
2018-07-30 23:18:30 +03:00
François Laignel
d4fb10ef4c Toc: serde: rename loop_ to loop 2018-07-30 23:18:30 +03:00
François Laignel
0aac055727 Caps: serde: use a placeholder for CapsFeature
`CapsFeature` is not available in `gstreamer-rs` yet. Use a placeholder
with a `None` value for now.
2018-07-30 23:18:30 +03:00