mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 22:18:50 +00:00
application-development: interfaces: improve introduction
This commit is contained in:
parent
d01c95e460
commit
fd512524a7
1 changed files with 8 additions and 10 deletions
|
@ -4,24 +4,22 @@ title: Interfaces
|
||||||
|
|
||||||
# Interfaces
|
# Interfaces
|
||||||
|
|
||||||
In [Using an element as a GObject][element-object], you have
|
[Using an element as a GObject][element-object] presents the use of `GObject`
|
||||||
learned how to use `GObject` properties as a simple way to do
|
properties as a simple way for applications and elements to interact. This
|
||||||
interaction between applications and elements. This method suffices for
|
method suffices for simple getters and setters, but fails for anything more
|
||||||
the simple'n'straight settings, but fails for anything more complicated
|
complicated. For more complex use cases, GStreamer uses interfaces based on the
|
||||||
than a getter and setter. For the more complicated use cases, GStreamer
|
`GObject`
|
||||||
uses interfaces based on the GObject
|
|
||||||
[`GTypeInterface`](http://library.gnome.org/devel/gobject/stable/gtype-non-instantiable-classed.html)
|
[`GTypeInterface`](http://library.gnome.org/devel/gobject/stable/gtype-non-instantiable-classed.html)
|
||||||
type.
|
type.
|
||||||
|
|
||||||
Most of the interfaces handled here will not contain any example code.
|
This text is meant to be introductory and does not include source code examples.
|
||||||
See the API references for details. Here, we will just describe the
|
Please take a look a the API reference for additional details.
|
||||||
scope and purpose of each interface.
|
|
||||||
|
|
||||||
[element-object]: application-development/basics/elements.md#using-an-element-as-a-gobject
|
[element-object]: application-development/basics/elements.md#using-an-element-as-a-gobject
|
||||||
|
|
||||||
## The URI Handler interface
|
## The URI Handler interface
|
||||||
|
|
||||||
In the examples so far, we have only showed support for local files
|
In our examples so far, we have only showed support for local files
|
||||||
using the “filesrc” element, but GStreamer supports many more location
|
using the “filesrc” element, but GStreamer supports many more location
|
||||||
sources.
|
sources.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue