Cargo Features

GStreamer has no features set by default.

[dependencies]
gstreamer = { version = "0.22.2", features = ["v1_16", "v1_18", "v1_20", "v1_22", "v1_24", "serde"] }
v1_16 v1_18?

Enables v1_16 of gstreamer-sys

Affects device_provider::DeviceProviderExt.device_changed, message::DeviceChangedBuilder, meta::MetaSeqnum

v1_18 v1_20? = v1_16

Enables v1_18 of gstreamer-sys

Affects pad::PadExt.single_internal_link, task::TaskExt.resume, bin::GstBinExtManual.iterate_all_by_element_factory_name, event::InstantRateSyncTimeBuilder, event::InstantRateChangeBuilder, functions::active_tracers, gstreamer::PARAM_FLAG_DOC_SHOW_DEFAULT, gstreamer::PARAM_FLAG_CONDITIONALLY_AVAILABLE, message::InstantRateRequestBuilder, param_spec::GstParamSpecBuilderExt.doc_show_default, param_spec::GstParamSpecBuilderExt.conditionally_available

v1_20 v1_22? = v1_18

Enables v1_20 of gstreamer-sys

Affects device_provider::DeviceProviderExt.is_started, meta::CustomMeta, tracer::TracerImpl.plugin_feature_loaded, value::GstValueExt.deserialize_with_pspec

v1_22 v1_24? = v1_20

Enables v1_22 of gstreamer-sys

Affects child_proxy::ChildProxyExt.child_by_name_recurse, macos::macos_main, tracer::TracerImpl.pad_chain_list_post, tracer::TracerImpl.pad_chain_list_pre, tracer::TracerImpl.pad_chain_post, tracer::TracerImpl.pad_chain_pre

v1_24 = v1_22

Enables v1_24 of gstreamer-sys

Affects element::ElementExt.decorate_stream_id, functions::util_ceil_log2, pipeline::PipelineExt.configured_latency, pipeline::PipelineExt.is_live, functions::filename_compare, meta::ByteArrayInterface

serde = serde_bytes

Enables serde, serde of num-rational

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde_bytes serde?