Commit graph

707 commits

Author SHA1 Message Date
Christian Meissl
13a1d5d7d0 net: Actually create an PTP clock instead of NTP clock 2018-11-26 12:56:01 +01:00
Sebastian Dröge
574ad233b4 Implement Send/Sync for VideoFrame
Closes #153
2018-11-26 12:08:08 +01:00
Sebastian Dröge
9a059583c9 Run everything through rustfmt 2018-11-07 23:59:08 +02:00
Sebastian Dröge
d7d965c437 Run gitlab-ci also with Rust 1.28 2018-11-07 23:55:20 +02:00
Thibault Saunier
85e1e196c4 Fix WebRTC crate link in the README 2018-11-07 23:55:11 +02:00
Thibault Saunier
3c5b4ade92 ci: Lint before running test
No reason to run tests if linting didn't pass
2018-11-07 23:55:05 +02:00
Sebastian Dröge
f5c7ae06de Fix repository name in migration note in README.md 2018-11-07 23:54:58 +02:00
Sebastian Dröge
859ea53117 Call gst::init() in message::test_other_fields() test at the beginning 2018-11-07 23:54:49 +02:00
Sebastian Dröge
f53f5f92a4 Change all references from GitHub to freedesktop.org GitLab 2018-11-07 23:54:16 +02:00
Arun Raghavan
d0c124db15 enums: Implement the From trait for error/success
This implements the From trait for all *Error/*Success enums to the
corresponding *Return enum.
2018-11-07 23:51:39 +02:00
Jan Alexander Steffens (heftig)
b1c538dee2 examples: Make gstreamer-rtsp-server-sys properly optional
Fixes https://github.com/sdroege/gstreamer-rs/issues/136
2018-11-07 23:51:29 +02:00
Jordan Petridis
16574e87d6 Add a rustfmt config
We stick to the default rustfmt style, but the config is needed
to ignore the auto-generated code.
2018-11-07 23:50:52 +02:00
Jordan Petridis
c3e7ab2f61 CI: Add a rustfmt check 2018-11-07 23:50:52 +02:00
Jordan Petridis
947ddc809d CI: Cache the cargo registry 2018-11-07 23:50:52 +02:00
Jordan Petridis
4c9cf04f8a CI: add color to the cargo output 2018-11-07 23:50:52 +02:00
Jordan Petridis
ef9591807f CI: Add initial gitlab-ci config
Duplicates the functionality of the travis config
2018-11-07 23:50:52 +02:00
Sebastian Dröge
23900d6099 Remove travis cargo cache 2018-11-07 23:48:56 +02:00
Sebastian Dröge
513914c735 Add functions to get the FFI pointer behind a VideoFrame/VideoFrameRef 2018-11-07 23:48:21 +02:00
Sebastian Dröge
e37be09eeb Run tests on travis with G_DEBUG=fatal_warnings 2018-11-07 23:48:12 +02:00
Sebastian Dröge
d317e15c2e Structure is Sync, and StructureRef is Send+Sync 2018-11-07 23:48:00 +02:00
Sebastian Dröge
c21f98d2c3 Implement Sync for VideoInfo and AudioInfo
They are immutable on the Rust side after all.
2018-11-07 23:48:00 +02:00
Sebastian Dröge
c1d56ce94e Update travis to use GStreamer 1.14.3 binaries (including OpenGL library) 2018-11-07 23:47:47 +02:00
Sebastian Dröge
93eb0b715c Update versions to 0.12.1 2018-09-21 11:41:52 +03:00
Sebastian Dröge
be35bf465f Update CHANGELOG.md for 0.12.1 2018-09-21 11:41:14 +03:00
Sebastian Dröge
edfb3050c4 Add bindings for is_video_overlay_prepare_window_handle_message() 2018-09-13 22:57:54 +03:00
Sebastian Dröge
c41a8edae7 Add VideoOverlay::prepare_window_handle() and got_window_handle() 2018-09-13 22:57:53 +03:00
Sebastian Dröge
20906d41e2 Update gstreamer-webrtc version to 0.12.0 2018-09-10 01:51:57 +03:00
Sebastian Dröge
82f51cfe43 Add README.md to gstreamer-webrtc 2018-09-10 01:51:43 +03:00
Sebastian Dröge
d2b520ec31 Update versions of all dependencies and point to releases instead of GIT 2018-09-10 01:41:17 +03:00
Sebastian Dröge
108f08dea4 Update CHANGELOG.md for 0.12.0 2018-09-10 01:37:36 +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
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