Sebastian Dröge
c68df282e8
gstreamer/caps: Fix clippy warning
...
No need to provide the field name if it's initialized with a variable of
the same name.
2020-06-21 20:02:52 +03:00
Sebastian Dröge
66069bcfa5
deny: Allow LGPL-2.0 license for the optional gstreamer-rs-lgpl-docs crate dependency
...
This is only pulled in when documentation build is enabled and thus
doesn't cause problems by pulling in an LGPL dependency.
2020-06-21 18:13:19 +03:00
Sebastian Dröge
b096a24857
video: Fix version for gst_video_time_code_meta_api_get_type()
2020-06-19 13:19:14 +03:00
Sebastian Dröge
801998c717
Generate documentation from the docs crate directly
2020-06-19 13:16:19 +03:00
Sebastian Dröge
70ee13db53
Convert documentation into a proper crate
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/258
2020-06-19 13:09:39 +03:00
Sebastian Dröge
740f668658
Update documentation
2020-06-19 13:09:39 +03:00
Sebastian Dröge
8dfbc9e811
Regenerate
2020-06-19 13:09:11 +03:00
Sebastian Dröge
2fd12a5ec1
Update symbol versions in the configuration that are missing from the .gir
2020-06-19 13:09:11 +03:00
Sebastian Dröge
2bd82b67f7
Update gir
2020-06-19 12:31:24 +03:00
Sebastian Dröge
b227a77c45
Regenerate
2020-06-19 12:18:54 +03:00
Sebastian Dröge
03c05f564f
Update symbol versions in the configuration that are missing from the .gir
2020-06-19 12:18:54 +03:00
Sebastian Dröge
2562fe9990
Update to 1.8 as minimum supported GStreamer version
...
To keep it in sync with the bindings on top.
2020-06-19 12:02:52 +03:00
Sebastian Dröge
e4efbec6d3
Update gir
2020-06-19 12:02:52 +03:00
Sebastian Dröge
d22b1b5981
gstreamer: Update num-rational dependency to 0.3
2020-06-18 13:06:20 +03:00
Sebastian Dröge
bfde1fd9d5
Update for new_with_XXX/new_from_XXX function renaming
2020-06-16 11:45:12 +03:00
François Laignel
04875f3bff
video: Add bindings for VideoSink
2020-06-15 11:47:15 +02:00
Guillaume Desmottes
87feebf827
ci: check commit using ci-fairy
...
See https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#checking-commits
In this setup it will check for any leftover fixup!/squash! commits and
that messages don't have the 'Signed-off-by:' tag.
2020-06-15 10:32:48 +02:00
Guillaume Desmottes
4b553c3ae7
ci: check commit using ci-fairy
...
See https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#checking-commits
In this setup it will check for any leftover fixup!/squash! commits and
that messages don't have the 'Signed-off-by:' tag.
2020-06-11 13:57:23 +00:00
Guillaume Desmottes
a954c03bc0
functions: rename constructors in manual API
...
The idiomatic way for Rust constructors is to be named from_XXX()
instead of new_from_XXX() and with_XXX() instead of new_with_XXX().
Fix #460
2020-06-11 12:33:52 +02:00
Guillaume Desmottes
7b2fe31cc1
update gir generator and regenerate
2020-06-11 12:33:49 +02:00
Sebastian Dröge
204c57e065
Regenerate everything
2020-06-10 11:52:39 +03:00
Sebastian Dröge
ad316840c5
Ignore AUDIO/VIDEO_FORMATS_ALL
...
They are endianness and version dependent.
2020-06-10 11:52:39 +03:00
Sebastian Dröge
d5ebc6a16d
Update gir-files
2020-06-10 11:29:52 +03:00
Guillaume Desmottes
6cd711cfdf
subclass: clean up subclassing prelude/re-exports
...
Use re-export pattern from glib.
Fix #255
2020-06-09 14:36:37 +02:00
Guillaume Desmottes
1d886727d9
video: sort VIDEO_FORMATS_ALL
...
Test also ensures that the formats list returned by
gst_video_formats_raw() is properly sorted when running with feature
1.18.
2020-06-09 09:26:32 +02:00
Guillaume Desmottes
ae57524502
video: manually order VideoFormat and VideoFormatInfo
2020-06-09 09:26:32 +02:00
Guillaume Desmottes
bb065be349
audio: sort AUDIO_FORMATS_ALL
...
Test also ensures that the formats list returned by
gst_audio_formats_raw() is properly sorted when running with feature
1.18.
2020-06-09 09:26:32 +02:00
Guillaume Desmottes
a6faa83908
audio: manually order AudioFormat and AudioFormatInfo
2020-06-09 09:26:31 +02:00
Guillaume Desmottes
59cfdc5e1a
ci: rebuild to update GStreamer
...
Need the new audio and video formats APIs.
2020-06-09 09:26:31 +02:00
Sebastian Dröge
a56b3cb5a0
Update CHANGELOG.md for 0.15.7
2020-06-08 13:29:06 +03:00
Sebastian Dröge
79b748feb0
audio: Add bindings for AudioBuffer
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/222
2020-06-07 18:58:54 +03:00
Sebastian Dröge
0b74671f54
audio: Add bindings for AudioMeta
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/222
2020-06-07 18:58:54 +03:00
Sebastian Dröge
be00953ec6
audio: Add AudioInfo::is_valid() and guard against finfo being NULL when retrieving the audio format
2020-06-07 18:58:54 +03:00
Sebastian Dröge
cf33e0acd0
audio: Add bindings for audio_buffer_truncate()
2020-06-07 18:58:54 +03:00
Sebastian Dröge
78c1fed92d
audio: Move audio_buffer_clip() to functions module
2020-06-07 18:58:54 +03:00
Sebastian Dröge
30d51f0ca6
video: Don't panic when passing an invalid video info to VideoMeta::add()
...
Instead return an error that can be handled by the caller.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/259
2020-06-07 18:58:54 +03:00
Sebastian Dröge
926ed2f53d
video: Don't unmap VideoFrameRef created from a VideoFrame
...
Otherwise we're going to unmap it twice. Also add a test for the
different interactions.
2020-06-07 15:22:33 +00:00
Sebastian Dröge
4f5aceaa5a
video: Check that the passed in video info is valid when creating a VideoFrame
2020-06-07 15:22:33 +00:00
Sebastian Dröge
6ed505401f
video: Add VideoInfo::is_valid() and guard against finfo being NULL when retrieving the video format
2020-06-07 15:22:33 +00:00
Thiago Sousa Santos
4a2cb80c06
rtp_buffer: wrap more methods
...
* extension data
* onebyte/twobytes extension
* ssrc
* csrc
* get_payload
2020-06-06 07:03:29 +00:00
Guillaume Desmottes
cac9767167
ci: rebuild image to update to Rust 1.44.0
2020-06-05 10:07:01 +02:00
jneem
e7cb758ee3
README.md: Add remark about pkg-config in MSYS2
...
Mention (and link to) the known issue about the MSYS2 version of pkg-config.
2020-06-05 10:03:16 +03:00
Sebastian Dröge
22113dc9cb
gstreamer/iterator: Store filter types in a hash table
...
Static variables in generic functions only exist once and not once per
type parameter, so before we were only able to register exactly one
filter type.
2020-06-04 12:36:03 +03:00
Sebastian Dröge
9b4117ea71
examples: Add an example that registers a custom GstMeta and makes use of it
...
The meta contains a Rust String as a label for the buffer. It is added
on buffers passed into an appsrc and retrieved from the buffers provided
by an appsink.
2020-06-04 12:07:05 +03:00
Mathieu Duponchelle
9f422c25d9
audio / video: export new formats iterators in preludes
2020-06-03 21:38:16 +02:00
Guillaume Desmottes
d5cab61c93
audio: implement Iterator on AudioFormat
...
Also add AUDIO_FORMATS_ALL as public API.
2020-06-03 21:11:00 +03:00
Guillaume Desmottes
3ceb870790
audio: add API to build raw audio caps
2020-06-03 21:11:00 +03:00
Guillaume Desmottes
972002ceb2
video: implement Iterator on VideoFormat
...
Also add VIDEO_FORMATS_ALL as public API.
2020-06-03 21:11:00 +03:00
Guillaume Desmottes
9754147a30
video: add API to build raw video caps
2020-06-03 21:11:00 +03:00
Guillaume Desmottes
1b0a20e52f
regenerate
2020-06-03 20:04:18 +03:00