...
 
Commits (30)
stages:
- "test"
.cargo_cache: &cache
cache:
key: "gst"
paths:
- ".cargo_cache/"
.cargo_test_template: &cargo_test
stage: "test"
variables:
G_DEBUG: "fatal_warnings"
DEPENDENCIES: |
curl
libssl-dev
liborc-0.4-dev
libglib2.0-dev
libxml2-dev
libegl1-mesa
libgles2-mesa
libgl1-mesa-dri
libgl1-mesa-glx
libwayland-egl1-mesa
<<: *cache
before_script:
- apt-get update -yqq
- apt-get install -yqq --no-install-recommends $DEPENDENCIES
# Only stuff inside the repo directory can be cached
# Override the CARGO_HOME variable to force its location
- export CARGO_HOME="${PWD}/.cargo_cache"
- mkdir -p precompiled-gst && cd precompiled-gst
- curl -L https://people.freedesktop.org/~slomo/gstreamer-1.14.3.tar.gz | tar xz
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig/*.pc
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
- export PATH=$PATH:$PWD/gstreamer/bin
- rustc --version
- cargo --version
script:
- cargo build --all --color=always
# FIXME: tests are broken
# https://github.com/sdroege/gstreamer-sys/issues/16
# - cargo test --all --color=always
- cargo build --all --all-features --color=always
# FIXME: tests are broken
# https://github.com/sdroege/gstreamer-sys/issues/16
# - cargo test --all --all-features --color=always
test 1.28:
# 1.28 img
# https://hub.docker.com/_/rust/
image: "rust:1.28-slim"
<<: *cargo_test
test stable:
# Stable img
# https://hub.docker.com/_/rust/
image: "rust:slim"
<<: *cargo_test
test nightly:
# Nightly
# https://hub.docker.com/r/rustlang/rust/
image: "rustlang/rust:nightly-slim"
allow_failure: true
<<: *cargo_test
......@@ -11,6 +11,11 @@ addons:
packages:
- libglib2.0-dev
- libxml2-dev
- libegl1-mesa
- libgles2-mesa
- libgl1-mesa-dri
- libgl1-mesa-glx
- libwayland-egl1-mesa
matrix:
allow_failures:
......@@ -22,7 +27,7 @@ script:
- cargo build --all --all-features
before_install:
- curl -L https://people.freedesktop.org/~slomo/gstreamer.tar.gz | tar xz
- curl -L https://people.freedesktop.org/~slomo/gstreamer-1.14.3.tar.gz | tar xz
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig/*.pc
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
......
......@@ -14,5 +14,7 @@ members = [
"gstreamer-sdp-sys",
"gstreamer-rtsp-sys",
"gstreamer-rtsp-server-sys",
"gstreamer-webrtc-sys"
"gstreamer-webrtc-sys",
"gstreamer-editing-services-sys",
"gstreamer-check-sys",
]
[options]
girs_dir = "gir-files"
library = "GstCheck"
version = "1.0"
min_cfg_version = "1.0"
target_path = "gstreamer-check-sys"
work_mode = "sys"
ignore = [
]
external_libraries = [
"GLib",
"GObject",
]
[external_libraries]
gstreamer="Gst"
[options]
girs_dir = "gir-files"
library = "GES"
version = "1.0"
min_cfg_version = "1.0"
target_path = "gstreamer-editing-services-sys"
work_mode = "sys"
external_libraries = [
"GLib",
"GObject",
"Gio",
]
[external_libraries]
gstreamer="Gst"
gstreamer_base="GstBase"
gstreamer_pbutils="GstPbutils"
......@@ -2,7 +2,7 @@
girs_dir = "gir-files"
library = "GstWebRTC"
version = "1.0"
min_cfg_version = "1.0"
min_cfg_version = "1.14"
target_path = "gstreamer-webrtc-sys"
work_mode = "sys"
......
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-sys.svg)](https://crates.io/crates/gstreamer-sys) [![Build Status](https://travis-ci.org/sdroege/gstreamer-sys.svg?branch=master)](https://travis-ci.org/sdroege/gstreamer-sys)
# NOTE: The canonical repository for gstreamer-sys has moved to [freedesktop.org GitLab](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys)!
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-sys.svg)](https://crates.io/crates/gstreamer-sys) [![pipeline status](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/badges/master/pipeline.svg)](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/commits/master)
[GStreamer](https://gstreamer.freedesktop.org/) FFI bindings for Rust.
......@@ -6,8 +8,8 @@ These bindings are providing unsafe FFI API that can be used to interface with
GStreamer. Generally they are meant to be used as the building block for
higher-level abstractions like:
* Application-side bindings for GStreamer: https://github.com/sdroege/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://github.com/sdroege/gst-plugin-rs
* Application-side bindings for GStreamer: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
The bindings are autogenerated with [gir](https://github.com/gtk-rs/gir/)
based on the [GObject-Introspection](https://wiki.gnome.org/Projects/GObjectIntrospection/)
......
Subproject commit f5fca824dae5a07dc869f556179fe93c6e3e0014
Subproject commit b5ea06528f1c5e69c1104ac4e04182f9ecc7f031
This diff is collapsed.
......@@ -3875,7 +3875,7 @@ gst_buffer_pool_config_add_option().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a %NULL terminated array
of strings.</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8"/>
</array>
</return-value>
......@@ -4028,7 +4028,7 @@ gst_buffer_pool_config_add_option().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a %NULL terminated array
of strings.</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8"/>
</array>
</return-value>
......@@ -4265,7 +4265,7 @@ return.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a %NULL terminated array
of strings.</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8"/>
</array>
</return-value>
......@@ -15848,7 +15848,7 @@ make a copy of the protocol string array if you need to.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the supported protocols
or %NULL</doc>
<array c:type="gchar**">
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
......@@ -23214,7 +23214,7 @@ buffers.</doc>
version="1.2">
<return-value transfer-ownership="none">
<doc xml:space="preserve">an array of tags as strings.</doc>
<array c:type="gchar**">
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
......@@ -23258,7 +23258,7 @@ buffers.</doc>
</parameter>
<parameter name="tags" transfer-ownership="none">
<doc xml:space="preserve">tags for @api</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -29704,7 +29704,7 @@ codec libraries are currently installed.</doc>
or %NULL. Environment variable names may be followed by a path component
which will be added to the content of the environment variable, e.g.
"HOME/.mystuff/plugins".</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -29714,7 +29714,7 @@ codec libraries are currently installed.</doc>
allow-none="1">
<doc xml:space="preserve">%NULL-terminated array of directories/paths where dependent files
may be, or %NULL.</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -29726,7 +29726,7 @@ codec libraries are currently installed.</doc>
depending on @flags) to be used in combination with the paths from
@paths and/or the paths extracted from the environment variables in
@env_vars, or %NULL.</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -33717,7 +33717,7 @@ in the @formats array must be equal to @n_formats.</doc>
<parameter name="formats" transfer-ownership="none">
<doc xml:space="preserve">an array containing @n_formats
@GstFormat values.</doc>
<array length="0" zero-terminated="0" c:type="GstFormat*">
<array length="0" zero-terminated="0" c:type="const GstFormat*">
<type name="Format" c:type="GstFormat"/>
</array>
</parameter>
......@@ -35679,8 +35679,9 @@ outside of the segment is extrapolated.
When 1 is returned, @running_time resulted in a positive position returned
in @position.
When this function returns -1, the returned @position should be negated
to get the real negative segment position.</doc>
When this function returns -1, the returned @position was &lt; 0, and the value
in the position variable should be negated to get the real negative segment
position.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a 1 or -1 on success, 0 on failure.</doc>
<type name="gint" c:type="gint"/>
......@@ -43006,7 +43007,7 @@ returns and must not be freed.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the
requested data, or %NULL if that data is not available.</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</return-value>
......@@ -43273,7 +43274,7 @@ a 0-length list.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">
a %NULL-terminated array of extensions associated with this factory</doc>
<array c:type="gchar**">
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
......@@ -44725,7 +44726,7 @@ determine a order for the two provided values.</doc>
<doc xml:space="preserve">The major version of GStreamer at compile time:</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="VERSION_MICRO" value="1" c:type="GST_VERSION_MICRO">
<constant name="VERSION_MICRO" value="4" c:type="GST_VERSION_MICRO">
<doc xml:space="preserve">The micro version of GStreamer at compile time:</doc>
<type name="gint" c:type="gint"/>
</constant>
......@@ -45998,7 +45999,7 @@ is unknown.</doc>
<parameters>
<parameter name="formats" transfer-ownership="none">
<doc xml:space="preserve">The format array to search</doc>
<array c:type="GstFormat*">
<array c:type="const GstFormat*">
<type name="Format" c:type="GstFormat"/>
</array>
</parameter>
......@@ -46148,8 +46149,8 @@ abort program execution.</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pointer to application's argv</doc>
<array length="0" zero-terminated="0" c:type="char**">
<type name="utf8" c:type="char*"/>
<array length="0" zero-terminated="0" c:type="char***">
<type name="utf8" c:type="char**"/>
</array>
</parameter>
</parameters>
......@@ -46182,8 +46183,8 @@ use gst_init() instead.</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pointer to application's argv</doc>
<array length="0" zero-terminated="0" c:type="char**">
<type name="utf8" c:type="char*"/>
<array length="0" zero-terminated="0" c:type="char***">
<type name="utf8" c:type="char**"/>
</array>
</parameter>
</parameters>
......@@ -46286,7 +46287,7 @@ or gst_init_check().</doc>
version="1.2">
<return-value transfer-ownership="none">
<doc xml:space="preserve">an array of tags as strings.</doc>
<array c:type="gchar**">
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
......@@ -46332,7 +46333,7 @@ or gst_init_check().</doc>
</parameter>
<parameter name="tags" transfer-ownership="none">
<doc xml:space="preserve">tags for @api</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -46742,7 +46743,7 @@ on failure.</doc>
<parameters>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve">null-terminated array of arguments</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -46765,7 +46766,7 @@ An error does not mean that the pipeline could not be constructed.</doc>
<parameters>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve">null-terminated array of arguments</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -47001,7 +47002,7 @@ the @system_identifiers supported by the set of available decryptors, or
<doc xml:space="preserve">
A null terminated array of strings that contains the UUID values of each
protection system that is to be checked.</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -47038,7 +47039,7 @@ element has been found.</doc>
<doc xml:space="preserve">A null terminated array of strings
that contains the UUID values of each protection system that is to be
checked.</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -47870,7 +47871,7 @@ the result.</doc>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve">a pointer to the memory to dump</doc>
<array length="1" zero-terminated="0" c:type="guchar*">
<array length="1" zero-terminated="0" c:type="const guchar*">
<type name="guint8" c:type="guchar"/>
</array>
</parameter>
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -211,7 +211,7 @@ MT safe. Caller owns return value (gst_net_time_packet_free to free).</doc>
<parameters>
<parameter name="buffer" transfer-ownership="none">
<doc xml:space="preserve">a buffer from which to construct the packet, or NULL</doc>
<array zero-terminated="0" c:type="guint8*">
<array zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......
This diff is collapsed.
......@@ -2527,7 +2527,7 @@ all matching headers will be removed.</doc>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">the data</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -4126,7 +4126,7 @@ are reached. #GST_RTSP_EINTR when @watch was flushing.</doc>
</instance-parameter>
<parameter name="data" transfer-ownership="full">
<doc xml:space="preserve">the data to queue</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......
......@@ -292,7 +292,7 @@ parameters to decrypt and verify the data.</doc>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">the encrypted envelope key</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -317,7 +317,7 @@ parameters to decrypt and verify the data.</doc>
</parameter>
<parameter name="rand" transfer-ownership="none">
<doc xml:space="preserve">random data</doc>
<array length="0" zero-terminated="0" c:type="guint8*">
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -361,7 +361,7 @@ parameters to decrypt and verify the data.</doc>
</parameter>
<parameter name="ts_value" transfer-ownership="none">
<doc xml:space="preserve">The timestamp value of the specified @type</doc>
<array zero-terminated="0" c:type="guint8*">
<array zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -857,7 +857,7 @@ payload.</doc>
</parameter>
<parameter name="vf_data" transfer-ownership="none">
<doc xml:space="preserve">the Valid From data</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -867,7 +867,7 @@ payload.</doc>
</parameter>
<parameter name="vt_data" transfer-ownership="none">
<doc xml:space="preserve">the Valid To data</doc>
<array length="2" zero-terminated="0" c:type="guint8*">
<array length="2" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -897,7 +897,7 @@ payload.</doc>
</parameter>
<parameter name="key_data" transfer-ownership="none">
<doc xml:space="preserve">the key of type @key_type</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -926,7 +926,7 @@ salt data will be removed.</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">the salt</doc>
<array length="0" zero-terminated="0" c:type="guint8*">
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -951,7 +951,7 @@ salt data will be removed.</doc>
</parameter>
<parameter name="spi_data" transfer-ownership="none">
<doc xml:space="preserve">the SPI/MKI data</doc>
<array length="0" zero-terminated="0" c:type="guint8*">
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -981,7 +981,7 @@ salt data will be removed.</doc>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">the encrypted envelope key</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1006,7 +1006,7 @@ salt data will be removed.</doc>
</parameter>
<parameter name="rand" transfer-ownership="none">
<doc xml:space="preserve">random values</doc>
<array length="0" zero-terminated="0" c:type="guint8*">
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1036,7 +1036,7 @@ and @val.</doc>
</parameter>
<parameter name="val" transfer-ownership="none">
<doc xml:space="preserve">@len bytes of data</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1141,7 +1141,7 @@ at @idx.</doc>
</parameter>
<parameter name="ts_value" transfer-ownership="none">
<doc xml:space="preserve">the timestamp value</doc>
<array zero-terminated="0" c:type="guint8*">
<array zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -2794,7 +2794,7 @@ gst_sdp_media_init() before it can be used again.</doc>
</parameter>
<parameter name="repeat" transfer-ownership="none">
<doc xml:space="preserve">the repeat times</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -3917,7 +3917,7 @@ stack and initialized with gst_sdp_message_init().</doc>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">the start of the buffer</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -4053,7 +4053,7 @@ a conference session.</doc>
</parameter>
<parameter name="repeat" transfer-ownership="none">
<doc xml:space="preserve">the repeat times</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -4273,7 +4273,7 @@ a=rtcp-fb:(payload) (param1) [param2]...</doc>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">the start of the buffer</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......
......@@ -1039,7 +1039,7 @@ WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).</doc>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">string data</doc>
<array length="1" zero-terminated="0" c:type="gchar*">
<array length="1" zero-terminated="0" c:type="const gchar*">
<type name="gchar"/>
</array>
</parameter>
......@@ -1050,7 +1050,7 @@ WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).</doc>
<parameter name="env_vars" transfer-ownership="none">
<doc xml:space="preserve">
a NULL-terminated string array of environment variable names, or NULL</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......@@ -1391,7 +1391,7 @@ data (we can't trust the declared mime type).</doc>
<parameters>
<parameter name="image_data" transfer-ownership="none">
<doc xml:space="preserve">the (encoded) image</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1423,7 +1423,7 @@ more information on image tags in GStreamer.</doc>
</parameter>
<parameter name="image_data" transfer-ownership="none">
<doc xml:space="preserve">the (encoded) image</doc>
<array length="2" zero-terminated="0" c:type="guint8*">
<array length="2" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1505,7 +1505,7 @@ vorbiscomment packet.</doc>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">data to convert</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1515,7 +1515,7 @@ vorbiscomment packet.</doc>
</parameter>
<parameter name="id_data" transfer-ownership="none">
<doc xml:space="preserve">identification data at start of stream</doc>
<array length="3" zero-terminated="0" c:type="guint8*">
<array length="3" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1551,7 +1551,7 @@ vorbiscomment packet.</doc>
</parameter>
<parameter name="id_data" transfer-ownership="none">
<doc xml:space="preserve">identification data at start of stream</doc>
<array length="2" zero-terminated="0" c:type="guint8*">
<array length="2" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1596,7 +1596,7 @@ parsed data.</doc>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">128 bytes of data containing the ID3v1 tag</doc>
<array zero-terminated="0" c:type="guint8*" fixed-size="128">
<array zero-terminated="0" c:type="const guint8*" fixed-size="128">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1655,7 +1655,7 @@ is put in the beginning of the buffer.</doc>
</parameter>
<parameter name="id_data" transfer-ownership="none">
<doc xml:space="preserve">identification data at start of stream</doc>
<array length="2" zero-terminated="0" c:type="guint8*">
<array length="2" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
......@@ -1693,7 +1693,7 @@ be used</doc>
<parameter name="schemas" transfer-ownership="none">
<doc xml:space="preserve">
%NULL terminated array of schemas to be used on serialization</doc>
<array c:type="gchar**">
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
......
......@@ -1880,7 +1880,7 @@ Performs the multiplication, meta-&gt;matrix X matrix.</doc>
</instance-parameter>
<parameter name="matrix" transfer-ownership="none">
<doc xml:space="preserve">a 4x4 transformation matrix to be applied</doc>
<type name="gfloat" c:type="const gfloat"/>
<type name="gfloat" c:type="const gfloat*"/>
</parameter>
</parameters>
</method>
......@@ -2151,7 +2151,7 @@ supports all the video bufferpool options.</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pixel lines</doc>
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer*"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">the number of pixels on one line</doc>
......@@ -2814,7 +2814,7 @@ the component values in range [0.0 .. 1.0] back to their representation in
caller-allocates="1"
transfer-ownership="none">
<doc xml:space="preserve">output offsets</doc>
<array zero-terminated="0" c:type="gint" fixed-size="4">
<array zero-terminated="0" c:type="gint*" fixed-size="4">
<type name="gint" c:type="gint"/>
</array>
</parameter>
......@@ -2823,7 +2823,7 @@ the component values in range [0.0 .. 1.0] back to their representation in
caller-allocates="1"
transfer-ownership="none">
<doc xml:space="preserve">output scale</doc>
<array zero-terminated="0" c:type="gint" fixed-size="4">
<array zero-terminated="0" c:type="gint*" fixed-size="4">
<type name="gint" c:type="gint"/>
</array>
</parameter>
......@@ -4532,7 +4532,7 @@ performance is achived when @quantizer is a power of 2.
</parameter>
<parameter name="quantizer" transfer-ownership="none">
<doc xml:space="preserve">quantizer</doc>
<type name="guint" c:type="guint"/>
<type name="guint" c:type="guint*"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">the width of the lines</doc>
......@@ -6758,11 +6758,11 @@ formats this means that a complete pixel needs to be packed.</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pointers to the destination data planes</doc>
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer*"/>
</parameter>
<parameter name="stride" transfer-ownership="none">
<doc xml:space="preserve">strides of the destination planes</doc>
<type name="gint" c:type="const gint"/>
<type name="gint" c:type="const gint*"/>
</parameter>
<parameter name="chroma_site" transfer-ownership="none">
<doc xml:space="preserve">the chroma siting of the target when subsampled (not used)</doc>
......@@ -6816,11 +6816,11 @@ separate step after unpacking.</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pointers to the data planes</doc>
<type name="gpointer" c:type="const gpointer"/>
<type name="gpointer" c:type="const gpointer*"/>
</parameter>
<parameter name="stride" transfer-ownership="none">
<doc xml:space="preserve">strides of the planes</doc>
<type name="gint" c:type="const gint"/>
<type name="gint" c:type="const gint*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x position in the image to start from</doc>
......@@ -7172,7 +7172,7 @@ All video planes of @buffer will be mapped and the pointers will be set in
c:type="GstVideoGLTextureUploadMeta*"/>
</parameter>
<parameter name="texture_id" transfer-ownership="none">
<type name="guint" c:type="guint"/>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</callback>
......@@ -7233,7 +7233,7 @@ to upload something to an OpenGL texture.</doc>
</instance-parameter>
<parameter name="texture_id" transfer-ownership="none">
<doc xml:space="preserve">the texture IDs to upload to</doc>
<type name="guint" c:type="guint"/>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
......@@ -10470,7 +10470,7 @@ gst_video_scaler_get_info().</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">source pixels lines</doc>
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer*"/>
</parameter>
<parameter name="dest"
transfer-ownership="none"
......@@ -11484,7 +11484,7 @@ parameters.</doc>
</parameter>
<parameter name="texture_type" transfer-ownership="none">
<doc xml:space="preserve">array of #GstVideoGLTextureType</doc>
<type name="VideoGLTextureType" c:type="GstVideoGLTextureType"/>
<type name="VideoGLTextureType" c:type="GstVideoGLTextureType*"/>
</parameter>
<parameter name="upload"
transfer-ownership="none"
......@@ -11582,11 +11582,15 @@ gst_buffer_add_video_meta_full() with them.</doc>
</parameter>
<parameter name="offset" transfer-ownership="none">
<doc xml:space="preserve">offset of each plane</doc>
<type name="gsize" c:type="gsize"/>
<array zero-terminated="0" c:type="gsize*" fixed-size="4">
<type name="gsize" c:type="gsize"/>
</array>
</parameter>
<parameter name="stride" transfer-ownership="none">
<doc xml:space="preserve">stride of each plane</doc>
<type name="gint" c:type="gint"/>
<array zero-terminated="0" c:type="gint*" fixed-size="4">
<type name="gint" c:type="gint"/>
</array>
</parameter>
</parameters>
</function>
......@@ -12562,7 +12566,7 @@ not contain a valid chroma description.</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pixel lines</doc>
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer*"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">the number of pixels on one line</doc>
......@@ -12721,7 +12725,7 @@ the component values in range [0.0 .. 1.0] back to their representation in
caller-allocates="1"
transfer-ownership="none">
<doc xml:space="preserve">output offsets</doc>
<array zero-terminated="0" c:type="gint" fixed-size="4">
<array zero-terminated="0" c:type="gint*" fixed-size="4">
<type name="gint" c:type="gint"/>
</array>
</parameter>
......@@ -12730,7 +12734,7 @@ the component values in range [0.0 .. 1.0] back to their representation in
caller-allocates="1"
transfer-ownership="none">
<doc xml:space="preserve">output scale</doc>
<array zero-terminated="0" c:type="gint" fixed-size="4">
<array zero-terminated="0" c:type="gint*" fixed-size="4">
<type name="gint" c:type="gint"/>
</array>
</parameter>
......@@ -12949,7 +12953,7 @@ performance is achived when @quantizer is a power of 2.
</parameter>
<parameter name="quantizer" transfer-ownership="none">
<doc xml:space="preserve">quantizer</doc>
<type name="guint" c:type="guint"/>
<type name="guint" c:type="guint*"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">the width of the lines</doc>
......
......@@ -5,6 +5,40 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field).
## [0.6.2] - 2018-11-26
### Changed
- Fix various links in the README.md
- Link to the correct location for the documentation
- Remove GitLab badge as that only works with gitlab.com currently
## [0.6.1] - 2018-11-10
### Added
- GstCheck and GES (gstreamer editing services) bindings
### Changed
- Updated .gir files to 1.14.4 release
- All references were updated from GitHub to freedesktop.org GitLab
- Various functions take \*const instead of \*mut as parameters now
### Fixed
- Various functions and structs having pointer-of-array parameters/fields have
now fixed types. They were previously flat arrays instead of
pointer-of-arrays.
- Set gstreamer-webrtc-sys minimum version to 1.14. It did not exist before
that
## [0.6.0] - 2018-09-08
### Changed
- Updated everything to GStreamer 1.14.2
- Various fixes to how the code generator is used
- Regenerate with latest GIR code generator
### Fixed
- WebRTCICETransport and WebRTCDTLSTransport have the correct parent class
struct
- gstreamer-webrtc-sys correctly depends/links to gstreamer-sys
- Removed unneeded dependencies from the code generator configuration files
## [0.5.0] - 2018-03-20
### Changed
- Updated everything to GStreamer 1.14.0
......@@ -87,11 +121,14 @@ specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-v
- Initial release of the autogenerated GStreamer FFI bindings.
[Unreleased]: https://github.com/sdroege/gstreamer-sys/compare/0.5.0...HEAD
[0.5.0]: https://github.com/sdroege/gstreamer-sys/compare/0.4.1...0.5.0
[0.4.1]: https://github.com/sdroege/gstreamer-sys/compare/0.4.0...0.4.1
[0.4.0]: https://github.com/sdroege/gstreamer-sys/compare/0.3.0...0.4.0
[0.3.0]: https://github.com/sdroege/gstreamer-sys/compare/0.2.1...0.3.0
[0.2.1]: https://github.com/sdroege/gstreamer-sys/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/sdroege/gstreamer-sys/compare/0.1.1...0.2.0
[0.1.1]: https://github.com/sdroege/gstreamer-sys/compare/0.1.0...0.1.1
[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.2...HEAD
[0.6.2]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.1...0.6.2
[0.6.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.0...0.6.1
[0.6.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.5.0...0.6.0
[0.5.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.4.1...0.5.0
[0.4.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.4.0...0.4.1
[0.4.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.3.0...0.4.0
[0.3.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.2.1...0.3.0
[0.2.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.2.0...0.2.1
[0.2.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.1.1...0.2.0
[0.1.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.1.0...0.1.1
[badges.travis-ci]
branch = "master"
repository = "sdroege/gstreamer-sys"
[build-dependencies]
pkg-config = "0.3.7"
......@@ -9,13 +5,15 @@ pkg-config = "0.3.7"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/sys"
version = "0.7"
[dependencies.gstreamer-base-sys]
path = "../gstreamer-base-sys"
version = "0.6"
[dependencies.gstreamer-sys]
path = "../gstreamer-sys"
version = "0.6"
[dev-dependencies]
shell-words = "0.1.0"
......@@ -38,11 +36,12 @@ name = "gstreamer_app_sys"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
build = "build.rs"
description = "FFI bindings to libgstapp-1.0"
documentation = "https://slomo.pages.freedesktop.org/rustdocs/gstreamer-sys/gstreamer_app_sys/"
homepage = "https://gstreamer.freedesktop.org"
keywords = ["ffi", "gstreamer", "gnome", "multimedia"]
license = "MIT"
links = "gstapp-1.0"
name = "gstreamer-app-sys"
readme = "README.md"
repository = "https://github.com/sdroege/gstreamer-sys"
version = "0.6.0"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys"
version = "0.6.2"
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-sys.svg)](https://crates.io/crates/gstreamer-sys) [![Build Status](https://travis-ci.org/sdroege/gstreamer-sys.svg?branch=master)](https://travis-ci.org/sdroege/gstreamer-sys)
# NOTE: The canonical repository for gstreamer-sys has moved to [freedesktop.org GitLab](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys)!
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-app-sys.svg)](https://crates.io/crates/gstreamer-app-sys) [![pipeline status](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/badges/master/pipeline.svg)](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/commits/master)
[GStreamer](https://gstreamer.freedesktop.org/) (App library) FFI bindings for Rust.
......@@ -6,8 +8,8 @@ These bindings are providing unsafe FFI API that can be used to interface with
GStreamer. Generally they are meant to be used as the building block for
higher-level abstractions like:
* Application-side bindings for GStreamer: https://github.com/sdroege/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://github.com/sdroege/gst-plugin-rs
* Application-side bindings for GStreamer: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
The bindings are autogenerated with [gir](https://github.com/gtk-rs/gir/)
based on the [GObject-Introspection](https://wiki.gnome.org/Projects/GObjectIntrospection/)
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......
......@@ -5,6 +5,40 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field).
## [0.6.2] - 2018-11-26
### Changed
- Fix various links in the README.md
- Link to the correct location for the documentation
- Remove GitLab badge as that only works with gitlab.com currently
## [0.6.1] - 2018-11-10
### Added
- GstCheck and GES (gstreamer editing services) bindings
### Changed
- Updated .gir files to 1.14.4 release
- All references were updated from GitHub to freedesktop.org GitLab
- Various functions take \*const instead of \*mut as parameters now
### Fixed
- Various functions and structs having pointer-of-array parameters/fields have
now fixed types. They were previously flat arrays instead of
pointer-of-arrays.
- Set gstreamer-webrtc-sys minimum version to 1.14. It did not exist before
that
## [0.6.0] - 2018-09-08
### Changed
- Updated everything to GStreamer 1.14.2
- Various fixes to how the code generator is used
- Regenerate with latest GIR code generator
### Fixed
- WebRTCICETransport and WebRTCDTLSTransport have the correct parent class
struct
- gstreamer-webrtc-sys correctly depends/links to gstreamer-sys
- Removed unneeded dependencies from the code generator configuration files
## [0.5.0] - 2018-03-20
### Changed
- Updated everything to GStreamer 1.14.0
......@@ -87,11 +121,14 @@ specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-v
- Initial release of the autogenerated GStreamer FFI bindings.
[Unreleased]: https://github.com/sdroege/gstreamer-sys/compare/0.5.0...HEAD
[0.5.0]: https://github.com/sdroege/gstreamer-sys/compare/0.4.1...0.5.0
[0.4.1]: https://github.com/sdroege/gstreamer-sys/compare/0.4.0...0.4.1
[0.4.0]: https://github.com/sdroege/gstreamer-sys/compare/0.3.0...0.4.0
[0.3.0]: https://github.com/sdroege/gstreamer-sys/compare/0.2.1...0.3.0
[0.2.1]: https://github.com/sdroege/gstreamer-sys/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/sdroege/gstreamer-sys/compare/0.1.1...0.2.0
[0.1.1]: https://github.com/sdroege/gstreamer-sys/compare/0.1.0...0.1.1
[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.2...HEAD
[0.6.2]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.1...0.6.2
[0.6.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.0...0.6.1
[0.6.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.5.0...0.6.0
[0.5.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.4.1...0.5.0
[0.4.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.4.0...0.4.1
[0.4.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.3.0...0.4.0
[0.3.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.2.1...0.3.0
[0.2.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.2.0...0.2.1
[0.2.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.1.1...0.2.0
[0.1.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.1.0...0.1.1
[badges.travis-ci]
branch = "master"
repository = "sdroege/gstreamer-sys"
[build-dependencies]
pkg-config = "0.3.7"
......@@ -9,16 +5,18 @@ pkg-config = "0.3.7"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/sys"
version = "0.7"
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/sys"
version = "0.7"
[dependencies.gstreamer-base-sys]
path = "../gstreamer-base-sys"
version = "0.6"
[dependencies.gstreamer-sys]
path = "../gstreamer-sys"
version = "0.6"
[dev-dependencies]
shell-words = "0.1.0"
......@@ -41,11 +39,12 @@ name = "gstreamer_audio_sys"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
build = "build.rs"
description = "FFI bindings to libgstaudio-1.0"
documentation = "https://slomo.pages.freedesktop.org/rustdocs/gstreamer-sys/gstreamer_audio_sys/"
homepage = "https://gstreamer.freedesktop.org"
keywords = ["ffi", "gstreamer", "gnome", "multimedia"]
license = "MIT"
links = "gstaudio-1.0"
name = "gstreamer-audio-sys"
readme = "README.md"
repository = "https://github.com/sdroege/gstreamer-sys"
version = "0.6.0"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys"
version = "0.6.2"
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-sys.svg)](https://crates.io/crates/gstreamer-sys) [![Build Status](https://travis-ci.org/sdroege/gstreamer-sys.svg?branch=master)](https://travis-ci.org/sdroege/gstreamer-sys)
# NOTE: The canonical repository for gstreamer-sys has moved to [freedesktop.org GitLab](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys)!
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-audio-sys.svg)](https://crates.io/crates/gstreamer-audio-sys) [![pipeline status](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/badges/master/pipeline.svg)](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/commits/master)
[GStreamer](https://gstreamer.freedesktop.org/) (Audio library) FFI bindings for Rust.
......@@ -6,8 +8,8 @@ These bindings are providing unsafe FFI API that can be used to interface with
GStreamer. Generally they are meant to be used as the building block for
higher-level abstractions like:
* Application-side bindings for GStreamer: https://github.com/sdroege/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://github.com/sdroege/gst-plugin-rs
* Application-side bindings for GStreamer: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
The bindings are autogenerated with [gir](https://github.com/gtk-rs/gir/)
based on the [GObject-Introspection](https://wiki.gnome.org/Projects/GObjectIntrospection/)
......
This diff is collapsed.
......@@ -5,6 +5,40 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field).
## [0.6.2] - 2018-11-26
### Changed
- Fix various links in the README.md
- Link to the correct location for the documentation
- Remove GitLab badge as that only works with gitlab.com currently
## [0.6.1] - 2018-11-10
### Added
- GstCheck and GES (gstreamer editing services) bindings
### Changed
- Updated .gir files to 1.14.4 release
- All references were updated from GitHub to freedesktop.org GitLab
- Various functions take \*const instead of \*mut as parameters now
### Fixed
- Various functions and structs having pointer-of-array parameters/fields have
now fixed types. They were previously flat arrays instead of
pointer-of-arrays.
- Set gstreamer-webrtc-sys minimum version to 1.14. It did not exist before
that
## [0.6.0] - 2018-09-08
### Changed
- Updated everything to GStreamer 1.14.2
- Various fixes to how the code generator is used
- Regenerate with latest GIR code generator
### Fixed
- WebRTCICETransport and WebRTCDTLSTransport have the correct parent class
struct
- gstreamer-webrtc-sys correctly depends/links to gstreamer-sys
- Removed unneeded dependencies from the code generator configuration files
## [0.5.0] - 2018-03-20
### Changed
- Updated everything to GStreamer 1.14.0
......@@ -87,11 +121,14 @@ specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-v
- Initial release of the autogenerated GStreamer FFI bindings.
[Unreleased]: https://github.com/sdroege/gstreamer-sys/compare/0.5.0...HEAD
[0.5.0]: https://github.com/sdroege/gstreamer-sys/compare/0.4.1...0.5.0
[0.4.1]: https://github.com/sdroege/gstreamer-sys/compare/0.4.0...0.4.1
[0.4.0]: https://github.com/sdroege/gstreamer-sys/compare/0.3.0...0.4.0
[0.3.0]: https://github.com/sdroege/gstreamer-sys/compare/0.2.1...0.3.0
[0.2.1]: https://github.com/sdroege/gstreamer-sys/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/sdroege/gstreamer-sys/compare/0.1.1...0.2.0
[0.1.1]: https://github.com/sdroege/gstreamer-sys/compare/0.1.0...0.1.1
[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.2...HEAD
[0.6.2]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.1...0.6.2
[0.6.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.6.0...0.6.1
[0.6.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.5.0...0.6.0
[0.5.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.4.1...0.5.0
[0.4.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.4.0...0.4.1
[0.4.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.3.0...0.4.0
[0.3.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.2.1...0.3.0
[0.2.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.2.0...0.2.1
[0.2.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.1.1...0.2.0
[0.1.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/compare/0.1.0...0.1.1
[badges.travis-ci]
branch = "master"
repository = "sdroege/gstreamer-sys"
[build-dependencies]
pkg-config = "0.3.7"
......@@ -9,13 +5,14 @@ pkg-config = "0.3.7"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/sys"
version = "0.7"
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/sys"
version = "0.7"
[dependencies.gstreamer-sys]
path = "../gstreamer-sys"
version = "0.6"
[dev-dependencies]
shell-words = "0.1.0"
......@@ -41,11 +38,12 @@ name = "gstreamer_base_sys"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
build = "build.rs"
description = "FFI bindings to libgstbase-1.0"
documentation = "https://slomo.pages.freedesktop.org/rustdocs/gstreamer-sys/gstreamer_base_sys/"
homepage = "https://gstreamer.freedesktop.org"
keywords = ["ffi", "gstreamer", "gnome", "multimedia"]
license = "MIT"
links = "gstbase-1.0"
name = "gstreamer-base-sys"
readme = "README.md"
repository = "https://github.com/sdroege/gstreamer-sys"
version = "0.6.0"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys"
version = "0.6.2"
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-sys.svg)](https://crates.io/crates/gstreamer-sys) [![Build Status](https://travis-ci.org/sdroege/gstreamer-sys.svg?branch=master)](https://travis-ci.org/sdroege/gstreamer-sys)
# NOTE: The canonical repository for gstreamer-sys has moved to [freedesktop.org GitLab](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys)!
# gstreamer-sys [![crates.io](https://img.shields.io/crates/v/gstreamer-base-sys.svg)](https://crates.io/crates/gstreamer-base-sys) [![pipeline status](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/badges/master/pipeline.svg)](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/commits/master)
[GStreamer](https://gstreamer.freedesktop.org/) (Base library) FFI bindings for Rust.
......@@ -6,8 +8,8 @@ These bindings are providing unsafe FFI API that can be used to interface with
GStreamer. Generally they are meant to be used as the building block for
higher-level abstractions like:
* Application-side bindings for GStreamer: https://github.com/sdroege/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://github.com/sdroege/gst-plugin-rs
* Application-side bindings for GStreamer: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
* Crate for writing GStreamer plugins in Rust: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
The bindings are autogenerated with [gir](https://github.com/gtk-rs/gir/)
based on the [GObject-Introspection](https://wiki.gnome.org/Projects/GObjectIntrospection/)
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......@@ -451,7 +451,7 @@ impl ::std::fmt::Debug for GstBaseTransformPrivate {
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstBitReader {
pub data: *mut u8,
pub data: *const u8,
pub size: c_uint,
pub byte: c_uint,
pub bit: c_uint,
......@@ -472,7 +472,7 @@ impl ::std::fmt::Debug for GstBitReader {
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstByteReader {
pub data: *mut u8,
pub data: *const u8,
pub size: c_uint,
pub byte: c_uint,
pub _gst_reserved: [gpointer; 4],
......@@ -963,7 +963,7 @@ extern "C" {
pub fn gst_bit_reader_get_pos(reader: *const GstBitReader) -> c_uint;
pub fn gst_bit_reader_get_remaining(reader: *const GstBitReader) -> c_uint;
pub fn gst_bit_reader_get_size(reader: *const GstBitReader) -> c_uint;
pub fn gst_bit_reader_init(reader: *mut GstBitReader, data: *mut u8, size: c_uint);
pub fn gst_bit_reader_init(reader: *mut GstBitReader, data: *const u8, size: c_uint);
pub fn gst_bit_reader_peek_bits_uint16(reader: *const GstBitReader, val: *mut u16, nbits: c_uint) -> gboolean;
pub fn gst_bit_reader_peek_bits_uint32(reader: *const GstBitReader, val: *mut u32, nbits: c_uint) -> gboolean;
pub fn gst_bit_reader_peek_bits_uint64(reader: *const GstBitReader, val: *mut u64, nbits: c_uint) -> gboolean;
......@@ -971,7 +971,7 @@ extern "C" {
pub fn gst_bit_reader_set_pos(reader: *mut GstBitReader, pos: c_uint) -> gboolean;
pub fn gst_bit_reader_skip(reader: *mut GstBitReader, nbits: c_uint) -> gboolean;
pub fn gst_bit_reader_skip_to_byte(reader: *mut GstBitReader) -> gboolean;
pub fn gst_bit_reader_new(data: *mut u8, size: c_uint) -> *mut GstBitReader;
pub fn gst_bit_reader_new(data: *const u8, size: c_uint) -> *mut GstBitReader;
//=========================================================================
// GstByteReader
......@@ -981,7 +981,7 @@ extern "C" {
pub fn gst_byte_reader_dup_string_utf32(reader: *mut GstByteReader, str: *mut *mut u32) -> gboolean;
pub fn gst_byte_reader_dup_string_utf8(reader: *mut GstByteReader, str: *mut *mut c_char) -> gboolean;
pub fn gst_byte_reader_free(reader: *mut GstByteReader);
pub fn gst_byte_reader_get_data(reader: *mut GstByteReader, size: c_uint, val: *mut *mut u8) -> gboolean;
pub fn gst_byte_reader_get_data(reader: *mut GstByteReader, size: c_uint, val: *mut *const u8) -> gboolean;
pub fn gst_byte_reader_get_float32_be(reader: *mut GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_get_float32_le(reader: *mut GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_get_float64_be(reader: *mut GstByteReader, val: *mut c_double) -> gboolean;
......@@ -998,7 +998,7 @@ extern "C" {
pub fn gst_byte_reader_get_pos(reader: *const GstByteReader) -> c_uint;
pub fn gst_byte_reader_get_remaining(reader: *const GstByteReader) -> c_uint;
pub fn gst_byte_reader_get_size(reader: *const GstByteReader) -> c_uint;
pub fn gst_byte_reader_get_string_utf8(reader: *mut GstByteReader, str: *mut *mut c_char) -> gboolean;
pub fn gst_byte_reader_get_string_utf8(reader: *mut GstByteReader, str: *mut *const c_char) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_byte_reader_get_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
pub fn gst_byte_reader_get_uint16_be(reader: *mut GstByteReader, val: *mut u16) -> gboolean;
......@@ -1010,11 +1010,11 @@ extern "C" {
pub fn gst_byte_reader_get_uint64_be(reader: *mut GstByteReader, val: *mut u64) -> gboolean;
pub fn gst_byte_reader_get_uint64_le(reader: *mut GstByteReader, val: *mut u64) -> gboolean;
pub fn gst_byte_reader_get_uint8(reader: *mut GstByteReader, val: *mut u8) -> gboolean;
pub fn gst_byte_reader_init(reader: *mut GstByteReader, data: *mut u8, size: c_uint);
pub fn gst_byte_reader_init(reader: *mut GstByteReader, data: *const u8, size: c_uint);
pub fn gst_byte_reader_masked_scan_uint32(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_byte_reader_masked_scan_uint32_peek(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint, value: *mut u32) -> c_uint;
pub fn gst_byte_reader_peek_data(reader: *const GstByteReader, size: c_uint, val: *mut *mut u8) -> gboolean;
pub fn gst_byte_reader_peek_data(reader: *const GstByteReader, size: c_uint, val: *mut *const u8) -> gboolean;
pub fn gst_byte_reader_peek_float32_be(reader: *const GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_peek_float32_le(reader: *const GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_peek_float64_be(reader: *const GstByteReader, val: *mut c_double) -> gboolean;
......@@ -1028,7 +1028,7 @@ extern "C" {
pub fn gst_byte_reader_peek_int64_be(reader: *const GstByteReader, val: *mut i64) -> gboolean;
pub fn gst_byte_reader_peek_int64_le(reader: *const GstByteReader, val: *mut i64) -> gboolean;
pub fn gst_byte_reader_peek_int8(reader: *const GstByteReader, val: *mut i8) -> gboolean;
pub fn gst_byte_reader_peek_string_utf8(reader: *const GstByteReader, str: *mut *mut c_char) -> gboolean;
pub fn gst_byte_reader_peek_string_utf8(reader: *const GstByteReader, str: *mut *const c_char) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_byte_reader_peek_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
pub fn gst_byte_reader_peek_uint16_be(reader: *const GstByteReader, val: *mut u16) -> gboolean;
......@@ -1045,7 +1045,7 @@ extern "C" {
pub fn gst_byte_reader_skip_string_utf16(reader: *mut GstByteReader) -> gboolean;
pub fn gst_byte_reader_skip_string_utf32(reader: *mut GstByteReader) -> gboolean;
pub fn gst_byte_reader_skip_string_utf8(reader: *mut GstByteReader) -> gboolean;
pub fn gst_byte_reader_new(data: *mut u8, size: c_uint) -> *mut GstByteReader;
pub fn gst_byte_reader_new(data: *const u8, size: c_uint) -> *mut GstByteReader;
//=========================================================================
// GstByteWriter
......@@ -1060,7 +1060,7 @@ extern "C" {
pub fn gst_byte_writer_init_with_data(writer: *mut GstByteWriter, data: *mut u8, size: c_uint, initialized: gboolean);
pub fn gst_byte_writer_init_with_size(writer: *mut GstByteWriter, size: c_uint, fixed: gboolean);
pub fn gst_byte_writer_put_buffer(writer: *mut GstByteWriter, buffer: *mut gst::GstBuffer, offset: size_t, size: ssize_t) -> gboolean;
pub fn gst_byte_writer_put_data(writer: *mut GstByteWriter, data: *mut u8, size: c_uint) -> gboolean;
pub fn gst_byte_writer_put_data(writer: *mut GstByteWriter, data: *const u8, size: c_uint) -> gboolean;
pub fn gst_byte_writer_put_float32_be(writer: *mut GstByteWriter, val: c_float) -> gboolean;
pub fn gst_byte_writer_put_float32_le(writer: *mut GstByteWriter, val: c_float) -> gboolean;
pub fn gst_byte_writer_put_float64_be(writer: *mut GstByteWriter, val: c_double) -> gboolean;
......@@ -1074,8 +1074,8 @@ extern "C" {
pub fn gst_byte_writer_put_int64_be(writer: *mut GstByteWriter, val: i64) -> gboolean;
pub fn gst_byte_writer_put_int64_le(writer: *mut GstByteWriter, val: i64) -> gboolean;
pub fn gst_byte_writer_put_int8(writer: *mut GstByteWriter, val: i8) -> gboolean;
pub fn gst_byte_writer_put_string_utf16(writer: *mut GstByteWriter, data: *mut u16) -> gboolean;
pub fn gst_byte_writer_put_string_utf32(writer: *mut GstByteWriter, data: *mut u32) -> gboolean;
pub fn gst_byte_writer_put_string_utf16(writer: *mut GstByteWriter, data: *const u16) -> gboolean;
pub fn gst_byte_writer_put_string_utf32(writer: *mut GstByteWriter, data: *const u32) -> gboolean;
pub fn gst_byte_writer_put_string_utf8(writer: *mut GstByteWriter, data: *const c_char) -> gboolean;
pub fn gst_byte_writer_put_uint16_be(writer: *mut GstByteWriter, val: u16) -> gboolean;
pub fn gst_byte_writer_put_uint16_le(writer: *mut GstByteWriter, val: u16) -> gboolean;
......@@ -1408,8 +1408,10 @@ extern "C" {
//=========================================================================
pub fn gst_type_find_helper(src: *mut gst::GstPad, size: u64) -> *mut gst::GstCaps;
pub fn gst_type_find_helper_for_buffer(obj: *mut gst::GstObject, buf: *mut gst::GstBuffer, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps;
pub fn gst_type_find_helper_for_data(obj: *mut gst::GstObject, data: *mut u8, size: size_t, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps;
pub fn gst_type_find_helper_for_data(obj: *mut gst::GstObject, data: *const u8, size: size_t, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps;
pub fn gst_type_find_helper_for_extension(obj: *mut gst::GstObject, extension: *const c_char) -> *mut gst::GstCaps;
pub fn gst_type_find_helper_get_range(obj: *mut gst::GstObject, parent: *mut gst::GstObject, func: GstTypeFindHelperGetRangeFunction, size: u64, extension: *const c_char, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps;
#[cfg(any(feature = "v1_14_3", feature = "dox"))]
pub fn gst_type_find_helper_get_range_full(obj: *mut gst::GstObject, parent: *mut gst::GstObject, func: GstTypeFindHelperGetRangeFunction, size: u64, extension: *const c_char, caps: *mut *mut gst::GstCaps, prob: *mut gst::GstTypeFindProbability) -> gst::GstFlowReturn;
}
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field).
## [0.6.2] - 2018-11-26
### Changed
- Fix various links in the README.md
- Link to the correct location for the documentation
- Remove GitLab badge as that only works with gitlab.com currently
## [0.6.1] - 2018-11-10
### Added
- GstCheck and GES (gstreamer editing services) bindings
### Changed
- Updated .gir files to 1.14.4 release
- All references were updated from GitHub to freedesktop.org GitLab
- Various functions take \*const instead of \*mut as parameters now
### Fixed
- Various functions and structs having pointer-of-array parameters/fields have
now fixed types. They were previously flat arrays instead of
pointer-of-arrays.
- Set gstreamer-webrtc-sys minimum version to 1.14. It did not exist before
that
## [0.6.0] - 2018-09-08
### Changed
- Updated everything to GStreamer 1.14.2
- Various fixes to how the code generator is used
- Regenerate with latest GIR code generator
### Fixed
- WebRTCICETransport and WebRTCDTLSTransport have the correct parent class
struct
- gstreamer-webrtc-sys correctly depends/links to gstreamer-sys
- Removed unneeded dependencies from the code generator configuration files
## [0.5.0] - 2018-03-20
### Changed
- Updated everything to GStreamer 1.14.0
### Added
- GstSdp, GstRtsp, GstRtspServer and GstWebRTC bindings
### Fixed
- Use external_libraries feature of gir to require less manual editing
- Remove some unused crates from dependencies
- Disale print_system_libs in calls to pkg-config to work better with
non-system installs of GStreamer
## [0.4.1] - 2018-02-18
### Fixed
- Fix native library name of GstNet bindings
## [0.4.0] - 2017-12-23
### Added
- GstNet bindings
- Debug impls for basically every type
- Script to automatically regenerate everything
### Changed