gstreamer-rs/gstreamer/src
Sebastian Dröge fa5491e6b3 Use borrowed miniobject/structure types in more places
When the function does not keep around an additional reference of the
value this is correct and more flexible for callers.

https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/420

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1152>
2022-11-21 12:40:37 +02:00
..
auto Use borrowed miniobject/structure types in more places 2022-11-21 12:40:37 +02:00
format gstreamer: Implement From<T> for Signed<T> 2022-11-18 12:07:13 +02:00
subclass gstreamer: tracer: Pass &QueryRef instead of &Query to the functions 2022-11-21 12:40:37 +02:00
allocation_params.rs gstreamer: Add gst::Allocator subclassing support 2022-11-08 19:28:42 +00:00
allocator.rs gstreamer: Manually implement Allocator::register() 2022-11-08 19:07:48 +02:00
bin.rs gstreamer: Add bin/pipeline builders 2022-10-22 17:36:36 +03:00
buffer.rs gstreamer: Add PartialEq impls between owned/borrowed miniobjects/structures 2022-11-21 12:40:37 +02:00
buffer_cursor.rs manual code: fix-getters-def doc aliases 2021-05-03 20:46:57 +02:00
buffer_pool.rs Use impl Into<Option<_>> for functions impacted by nullability fixes 2022-10-21 11:30:02 +02:00
buffer_serde.rs gstreamer: Fix a few new clippy warnings 2022-05-20 11:19:07 +03:00
bufferlist.rs gst/format: move related modules under a directory 2022-10-01 00:49:39 +02:00
bufferlist_serde.rs Add De/Serialization for most bitflag types 2022-05-06 09:05:52 +00:00
bus.rs Fix a new beta clippy warning 2022-08-10 10:27:27 +00:00
bus_unix.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
bus_windows.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
caps.rs gstreamer: Add PartialEq impls between owned/borrowed miniobjects/structures 2022-11-21 12:40:37 +02:00
caps_features.rs as_ptr() and as_mut_ptr() accessors are safe 2022-08-12 08:29:49 +02:00
caps_features_serde.rs Fix (new) clippy warnings 2021-08-03 10:08:32 +02:00
caps_serde.rs Fix various new clippy warnings 2022-11-01 11:10:57 +02:00
child_proxy.rs Update for glib::Object::new() API changes 2022-10-07 21:45:01 +03:00
clock.rs Update for additional translation trait impls in gtk-rs-core 2022-10-08 15:35:37 +03:00
context.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
control_binding.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
control_source.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
date_time.rs gstreamer: Rename DateTime constructors to replace the new_ prefix with from_ 2021-11-20 12:20:25 +02:00
date_time_serde.rs Rename feature 'ser_de' as 'serde' 2022-09-12 19:36:30 +02:00
device_monitor.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
device_provider.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
device_provider_factory.rs gstreamer: Add getters for ElementFactory/DeviceProviderFactory metadata 2021-11-28 21:00:05 +01:00
element.rs Move from imp.instance() to imp.obj() 2022-10-23 23:06:44 +03:00
element_factory.rs Use borrowed miniobject/structure types in more places 2022-11-21 12:40:37 +02:00
element_factory_type.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
enums.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
error.rs Move from imp.instance() to imp.obj() 2022-10-23 23:06:44 +03:00
event.rs Fix various new clippy warnings 2022-11-01 11:10:57 +02:00
flag_serde.rs Add De/Serialization for most bitflag types 2022-05-06 09:05:52 +00:00
functions.rs gstreamer: Add extension trait to mark API as plugins API 2022-08-24 10:38:06 -04:00
ghost_pad.rs gstreamer: Implement pad default functions as associated functions 2022-10-12 18:29:52 +03:00
gobject.rs elementfactory: Change make() / create() to builders and keep the old variants as create_with_name() / make_with_name() 2022-10-19 17:48:39 +03:00
gtype.rs Fix nullability handling in some functions in manual code 2022-10-18 18:15:01 +03:00
iterator.rs elementfactory: Change make() / create() to builders and keep the old variants as create_with_name() / make_with_name() 2022-10-19 17:48:39 +03:00
lib.rs gstreamer: Manually implement Allocator::register() 2022-11-08 19:07:48 +02:00
log.rs Move from imp.instance() to imp.obj() 2022-10-23 23:06:44 +03:00
memory.rs as_ptr() and as_mut_ptr() accessors are safe 2022-08-12 08:29:49 +02:00
message.rs Fix nullability handling in some functions in manual code 2022-10-18 18:15:01 +03:00
meta.rs gstreamer: meta: Allow to register custom meta without transform function 2022-09-29 14:05:35 +02:00
miniobject.rs miniobject: implement ptr_eq() on ref type 2022-08-12 11:15:08 +02:00
object.rs elementfactory: Change make() / create() to builders and keep the old variants as create_with_name() / make_with_name() 2022-10-19 17:48:39 +03:00
pad.rs Fix various new clippy warnings 2022-11-01 11:10:57 +02:00
pad_template.rs gstreamer: Add #[must_use] annotation to PadTemplateBuilder 2022-05-08 11:41:54 +03:00
param_spec.rs Update for additional translation trait impls in gtk-rs-core 2022-10-08 15:35:37 +03:00
parse_context.rs Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
pipeline.rs gstreamer: Add bin/pipeline builders 2022-10-22 17:36:36 +03:00
plugin.rs Regenerate with latest gir / gir-files / gst-gir-files 2022-08-14 14:02:50 +03:00
plugin_feature.rs elementfactory: Change make() / create() to builders and keep the old variants as create_with_name() / make_with_name() 2022-10-19 17:48:39 +03:00
promise.rs gstreamer: manually implement Debug on PromiseReply 2022-08-29 08:59:21 +00:00
proxy_pad.rs gstreamer: Implement pad default functions as associated functions 2022-10-12 18:29:52 +03:00
query.rs Fix various new clippy warnings 2022-11-01 11:10:57 +02:00
registry.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
sample.rs gst/lib: cleanup format re-exports 2022-10-10 15:10:10 +02:00
sample_serde.rs gstreamer: Fix serde serialization tests 2022-06-24 11:13:06 +03:00
segment.rs gst/lib: cleanup format re-exports 2022-10-10 15:10:10 +02:00
segment_serde.rs gst/lib: cleanup format re-exports 2022-10-10 15:10:10 +02:00
serde_macros.rs Add De/Serialization for most bitflag types 2022-05-06 09:05:52 +00:00
static_caps.rs Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
static_pad_template.rs Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
stream.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
stream_collection.rs Implement more iterator functions / traits in custom iterators for efficiency reasons 2022-05-22 12:42:42 +03:00
structure.rs gstreamer: Add PartialEq impls between owned/borrowed miniobjects/structures 2022-11-21 12:40:37 +02:00
structure_serde.rs Fix various new clippy warnings 2022-11-01 11:10:57 +02:00
tag_setter.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
tags.rs gstreamer: Add PartialEq impls between owned/borrowed miniobjects/structures 2022-11-21 12:40:37 +02:00
tags_serde.rs gstreamer: Fix serde serialization tests 2022-06-24 11:13:06 +03:00
task.rs Fix/silence a couple new clippy warnings 2022-06-30 13:08:33 +00:00
task_pool.rs gstreamer: Add TaskPool bindings and subclassing 2022-03-30 23:01:21 +02:00
toc.rs Use impl Into<Option<_>> for functions impacted by nullability fixes 2022-10-21 11:30:02 +02:00
toc_serde.rs Use impl Into<Option<_>> for functions impacted by nullability fixes 2022-10-21 11:30:02 +02:00
tracer.rs Bindings to GstTracer and GstTracerFactory 2021-08-16 14:38:22 +03:00
tracer_factory.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
typefind.rs Fix various new clippy warnings 2022-11-01 11:10:57 +02:00
typefind_factory.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
utils.rs Rework ClockTime & FormattedValues 2021-06-04 22:09:38 +02:00
value.rs Rename feature 'ser_de' as 'serde' 2022-09-12 19:36:30 +02:00
value_serde.rs Fix various new clippy warnings 2022-11-01 11:10:57 +02:00