|
Packit |
971217 |
|
|
Packit |
971217 |
<html>
|
|
Packit |
971217 |
<head>
|
|
Packit |
971217 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
Packit |
971217 |
<title>playbin: GStreamer Base Plugins 1.0 Plugins Reference Manual</title>
|
|
Packit |
971217 |
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
|
Packit |
971217 |
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Plugins Reference Manual">
|
|
Packit |
971217 |
<link rel="up" href="ch01.html" title="gst-plugins-base Elements">
|
|
Packit |
971217 |
<link rel="prev" href="gst-plugins-base-plugins-parsebin.html" title="parsebin">
|
|
Packit |
971217 |
<link rel="next" href="gst-plugins-base-plugins-playbin3.html" title="playbin3">
|
|
Packit |
971217 |
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
|
Packit |
971217 |
<link rel="stylesheet" href="style.css" type="text/css">
|
|
Packit |
971217 |
</head>
|
|
Packit |
971217 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Top |
|
|
Packit |
971217 |
Description |
|
|
Packit |
971217 |
Object Hierarchy |
|
|
Packit |
971217 |
Implemented Interfaces |
|
|
Packit |
971217 |
Properties |
|
|
Packit |
971217 |
Signals
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Properties
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
audio-sink
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
audio-stream-combiner
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint64
|
|
Packit |
971217 |
av-offset
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint64
|
|
Packit |
971217 |
buffer-duration
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint
|
|
Packit |
971217 |
buffer-size
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
guint64
|
|
Packit |
971217 |
connection-speed
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint
|
|
Packit |
971217 |
current-audio
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gchar *
|
|
Packit |
971217 |
current-suburi
|
|
Packit |
971217 |
Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint
|
|
Packit |
971217 |
current-text
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gchar *
|
|
Packit |
971217 |
current-uri
|
|
Packit |
971217 |
Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint
|
|
Packit |
971217 |
current-video
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstPlayFlags
|
|
Packit |
971217 |
flags
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gboolean
|
|
Packit |
971217 |
force-aspect-ratio
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gboolean
|
|
Packit |
971217 |
mute
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint
|
|
Packit |
971217 |
n-audio
|
|
Packit |
971217 |
Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint
|
|
Packit |
971217 |
n-text
|
|
Packit |
971217 |
Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gint
|
|
Packit |
971217 |
n-video
|
|
Packit |
971217 |
Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
guint64
|
|
Packit |
971217 |
ring-buffer-max-size
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstSample *
|
|
Packit |
971217 |
sample
|
|
Packit |
971217 |
Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
source
|
|
Packit |
971217 |
Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gchar *
|
|
Packit |
971217 |
subtitle-encoding
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gchar *
|
|
Packit |
971217 |
subtitle-font-desc
|
|
Packit |
971217 |
Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gchar *
|
|
Packit |
971217 |
suburi
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
text-sink
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
text-stream-combiner
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gchar *
|
|
Packit |
971217 |
uri
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
video-sink
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
video-stream-combiner
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
vis-plugin
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
gdouble
|
|
Packit |
971217 |
volume
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
audio-filter
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstElement *
|
|
Packit |
971217 |
video-filter
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstVideoMultiviewFlags
|
|
Packit |
971217 |
video-multiview-flags
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstVideoMultiviewFramePacking
|
|
Packit |
971217 |
video-multiview-mode
|
|
Packit |
971217 |
Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Signals
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
about-to-finish
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
audio-changed
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
audio-tags-changed
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstSample*
|
|
Packit |
971217 |
convert-sample
|
|
Packit |
971217 |
Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstPad*
|
|
Packit |
971217 |
get-audio-pad
|
|
Packit |
971217 |
Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstTagList*
|
|
Packit |
971217 |
get-audio-tags
|
|
Packit |
971217 |
Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstPad*
|
|
Packit |
971217 |
get-text-pad
|
|
Packit |
971217 |
Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstTagList*
|
|
Packit |
971217 |
get-text-tags
|
|
Packit |
971217 |
Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstPad*
|
|
Packit |
971217 |
get-video-pad
|
|
Packit |
971217 |
Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstTagList*
|
|
Packit |
971217 |
get-video-tags
|
|
Packit |
971217 |
Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
source-setup
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
text-changed
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
text-tags-changed
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
video-changed
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
video-tags-changed
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
element-setup
|
|
Packit |
971217 |
Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Types and Values
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
struct
|
|
Packit |
971217 |
GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Object Hierarchy
|
|
Packit |
971217 |
GObject
|
|
Packit |
971217 |
╰── GInitiallyUnowned
|
|
Packit |
971217 |
╰── GstObject
|
|
Packit |
971217 |
╰── GstElement
|
|
Packit |
971217 |
╰── GstBin
|
|
Packit |
971217 |
╰── GstPipeline
|
|
Packit |
971217 |
╰── GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Implemented Interfaces
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GstPlayBin implements
|
|
Packit |
971217 |
GstChildProxy, GstStreamVolume, GstVideoOverlay, GstNavigation and GstColorBalance.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Description
|
|
Packit |
971217 |
Playbin provides a stand-alone everything-in-one abstraction for an
|
|
Packit |
971217 |
audio and/or video player.
|
|
Packit |
971217 |
Playbin can handle both audio and video files and features
|
|
Packit |
971217 |
|
|
Packit |
971217 |
automatic file type recognition and based on that automatic
|
|
Packit |
971217 |
selection and usage of the right audio/video/subtitle demuxers/decoders
|
|
Packit |
971217 |
visualisations for audio files
|
|
Packit |
971217 |
subtitle support for video files. Subtitles can be store in external
|
|
Packit |
971217 |
files.
|
|
Packit |
971217 |
stream selection between different video/audio/subtitles streams
|
|
Packit |
971217 |
meta info (tag) extraction
|
|
Packit |
971217 |
easy access to the last video sample
|
|
Packit |
971217 |
buffering when playing streams over a network
|
|
Packit |
971217 |
volume control with mute option
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Usage
|
|
Packit |
971217 |
A playbin element can be created just like any other element using
|
|
Packit |
971217 |
gst_element_factory_make() . The file/URI to play should be set via the “uri”
|
|
Packit |
971217 |
property. This must be an absolute URI, relative file paths are not allowed.
|
|
Packit |
971217 |
Example URIs are file:///home/joe/movie.avi or http://www.joedoe.com/foo.ogg
|
|
Packit |
971217 |
Playbin is a GstPipeline. It will notify the application of everything
|
|
Packit |
971217 |
that's happening (errors, end of stream, tags found, state changes, etc.)
|
|
Packit |
971217 |
by posting messages on its GstBus. The application needs to watch the
|
|
Packit |
971217 |
bus.
|
|
Packit |
971217 |
Playback can be initiated by setting the element to PLAYING state using
|
|
Packit |
971217 |
gst_element_set_state() . Note that the state change will take place in
|
|
Packit |
971217 |
the background in a separate thread, when the function returns playback
|
|
Packit |
971217 |
is probably not happening yet and any errors might not have occured yet.
|
|
Packit |
971217 |
Applications using playbin should ideally be written to deal with things
|
|
Packit |
971217 |
completely asynchroneous.
|
|
Packit |
971217 |
When playback has finished (an EOS message has been received on the bus)
|
|
Packit |
971217 |
or an error has occured (an ERROR message has been received on the bus) or
|
|
Packit |
971217 |
the user wants to play a different track, playbin should be set back to
|
|
Packit |
971217 |
READY or NULL state, then the “uri” property should be set to the
|
|
Packit |
971217 |
new location and then playbin be set to PLAYING state again.
|
|
Packit |
971217 |
Seeking can be done using gst_element_seek_simple() or gst_element_seek()
|
|
Packit |
971217 |
on the playbin element. Again, the seek will not be executed
|
|
Packit |
971217 |
instantaneously, but will be done in a background thread. When the seek
|
|
Packit |
971217 |
call returns the seek will most likely still be in process. An application
|
|
Packit |
971217 |
may wait for the seek to finish (or fail) using gst_element_get_state() with
|
|
Packit |
971217 |
-1 as the timeout, but this will block the user interface and is not
|
|
Packit |
971217 |
recommended at all.
|
|
Packit |
971217 |
Applications may query the current position and duration of the stream
|
|
Packit |
971217 |
via gst_element_query_position() and gst_element_query_duration() and
|
|
Packit |
971217 |
setting the format passed to GST_FORMAT_TIME. If the query was successful,
|
|
Packit |
971217 |
the duration or position will have been returned in units of nanoseconds.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Advanced Usage: specifying the audio and video sink
|
|
Packit |
971217 |
By default, if no audio sink or video sink has been specified via the
|
|
Packit |
971217 |
“audio-sink” or “video-sink” property, playbin will use the autoaudiosink
|
|
Packit |
971217 |
and autovideosink elements to find the first-best available output method.
|
|
Packit |
971217 |
This should work in most cases, but is not always desirable. Often either
|
|
Packit |
971217 |
the user or application might want to specify more explicitly what to use
|
|
Packit |
971217 |
for audio and video output.
|
|
Packit |
971217 |
If the application wants more control over how audio or video should be
|
|
Packit |
971217 |
output, it may create the audio/video sink elements itself (for example
|
|
Packit |
971217 |
using gst_element_factory_make() ) and provide them to playbin using the
|
|
Packit |
971217 |
“audio-sink” or “video-sink” property.
|
|
Packit |
971217 |
GNOME-based applications, for example, will usually want to create
|
|
Packit |
971217 |
gconfaudiosink and gconfvideosink elements and make playbin use those,
|
|
Packit |
971217 |
so that output happens to whatever the user has configured in the GNOME
|
|
Packit |
971217 |
Multimedia System Selector configuration dialog.
|
|
Packit |
971217 |
The sink elements do not necessarily need to be ready-made sinks. It is
|
|
Packit |
971217 |
possible to create container elements that look like a sink to playbin,
|
|
Packit |
971217 |
but in reality contain a number of custom elements linked together. This
|
|
Packit |
971217 |
can be achieved by creating a GstBin and putting elements in there and
|
|
Packit |
971217 |
linking them, and then creating a sink GstGhostPad for the bin and pointing
|
|
Packit |
971217 |
it to the sink pad of the first element within the bin. This can be used
|
|
Packit |
971217 |
for a number of purposes, for example to force output to a particular
|
|
Packit |
971217 |
format or to modify or observe the data before it is output.
|
|
Packit |
971217 |
It is also possible to 'suppress' audio and/or video output by using
|
|
Packit |
971217 |
'fakesink' elements (or capture it from there using the fakesink element's
|
|
Packit |
971217 |
"handoff" signal, which, nota bene, is fired from the streaming thread!).
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Retrieving Tags and Other Meta Data
|
|
Packit |
971217 |
Most of the common meta data (artist, title, etc.) can be retrieved by
|
|
Packit |
971217 |
watching for TAG messages on the pipeline's bus (see above).
|
|
Packit |
971217 |
Other more specific meta information like width/height/framerate of video
|
|
Packit |
971217 |
streams or samplerate/number of channels of audio streams can be obtained
|
|
Packit |
971217 |
from the negotiated caps on the sink pads of the sinks.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Buffering
|
|
Packit |
971217 |
Playbin handles buffering automatically for the most part, but applications
|
|
Packit |
971217 |
need to handle parts of the buffering process as well. Whenever playbin is
|
|
Packit |
971217 |
buffering, it will post BUFFERING messages on the bus with a percentage
|
|
Packit |
971217 |
value that shows the progress of the buffering process. Applications need
|
|
Packit |
971217 |
to set playbin to PLAYING or PAUSED state in response to these messages.
|
|
Packit |
971217 |
They may also want to convey the buffering progress to the user in some
|
|
Packit |
971217 |
way. Here is how to extract the percentage information from the message:
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
1
|
|
Packit |
971217 |
2
|
|
Packit |
971217 |
3
|
|
Packit |
971217 |
4
|
|
Packit |
971217 |
5
|
|
Packit |
971217 |
6
|
|
Packit |
971217 |
7
|
|
Packit |
971217 |
8
|
|
Packit |
971217 |
9
|
|
Packit |
971217 |
switch (GST_MESSAGE_TYPE (msg)) {
|
|
Packit |
971217 |
case GST_MESSAGE_BUFFERING: {
|
|
Packit |
971217 |
gint percent = 0;
|
|
Packit |
971217 |
gst_message_parse_buffering (msg, &percent);
|
|
Packit |
971217 |
g_print ("Buffering (%u percent done)", percent);
|
|
Packit |
971217 |
break;
|
|
Packit |
971217 |
}
|
|
Packit |
971217 |
...
|
|
Packit |
971217 |
}
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Note that applications should keep/set the pipeline in the PAUSED state when
|
|
Packit |
971217 |
a BUFFERING message is received with a buffer percent value < 100 and set
|
|
Packit |
971217 |
the pipeline back to PLAYING state when a BUFFERING message with a value
|
|
Packit |
971217 |
of 100 percent is received (if PLAYING is the desired state, that is).
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Embedding the video window in your application
|
|
Packit |
971217 |
By default, playbin (or rather the video sinks used) will create their own
|
|
Packit |
971217 |
window. Applications will usually want to force output to a window of their
|
|
Packit |
971217 |
own, however. This can be done using the GstVideoOverlay interface, which most
|
|
Packit |
971217 |
video sinks implement. See the documentation there for more details.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Specifying which CD/DVD device to use
|
|
Packit |
971217 |
The device to use for CDs/DVDs needs to be set on the source element
|
|
Packit |
971217 |
playbin creates before it is opened. The most generic way of doing this
|
|
Packit |
971217 |
is to connect to playbin's "source-setup" (or "notify::source") signal,
|
|
Packit |
971217 |
which will be emitted by playbin when it has created the source element
|
|
Packit |
971217 |
for a particular URI. In the signal callback you can check if the source
|
|
Packit |
971217 |
element has a "device" property and set it appropriately. In some cases
|
|
Packit |
971217 |
the device can also be set as part of the URI, but it depends on the
|
|
Packit |
971217 |
elements involved if this will work or not. For example, for DVD menu
|
|
Packit |
971217 |
playback, the following syntax might work (if the resindvd plugin is used):
|
|
Packit |
971217 |
dvd://[/path/to/device]
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Handling redirects
|
|
Packit |
971217 |
Some elements may post 'redirect' messages on the bus to tell the
|
|
Packit |
971217 |
application to open another location. These are element messages containing
|
|
Packit |
971217 |
a structure named 'redirect' along with a 'new-location' field of string
|
|
Packit |
971217 |
type. The new location may be a relative or an absolute URI. Examples
|
|
Packit |
971217 |
for such redirects can be found in many quicktime movie trailers.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Examples
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
1
|
|
Packit |
971217 |
gst-launch-1.0 -v playbin uri=file:///path/to/somefile.mp4
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
This will play back the given AVI video file, given that the video and
|
|
Packit |
971217 |
audio decoders required to decode the content are installed. Since no
|
|
Packit |
971217 |
special audio sink or video sink is supplied (via playbin's audio-sink or
|
|
Packit |
971217 |
video-sink properties) playbin will try to find a suitable audio and
|
|
Packit |
971217 |
video sink automatically using the autoaudiosink and autovideosink elements.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
1
|
|
Packit |
971217 |
gst-launch-1.0 -v playbin uri=cdda://4
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
This will play back track 4 on an audio CD in your disc drive (assuming
|
|
Packit |
971217 |
the drive is detected automatically by the plugin).
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
1
|
|
Packit |
971217 |
gst-launch-1.0 -v playbin uri=dvd://
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
This will play back the DVD in your disc drive (assuming
|
|
Packit |
971217 |
the drive is detected automatically by the plugin).
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Synopsis
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Element Information
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
plugin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playback
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
author
|
|
Packit |
971217 |
Wim Taymans <wim.taymans@gmail.com>
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
class
|
|
Packit |
971217 |
Generic/Bin/Player
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Element Pads
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Functions
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Types and Values
|
|
Packit |
971217 |
|
|
Packit |
971217 |
struct GstPlayBin
|
|
Packit |
971217 |
struct GstPlayBin;
|
|
Packit |
971217 |
playbin element structure
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Property Details
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “audio-sink” property
|
|
Packit |
971217 |
“audio-sink” GstElement *
|
|
Packit |
971217 |
the audio output element to use (NULL = default sink).
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “audio-stream-combiner” property
|
|
Packit |
971217 |
“audio-stream-combiner” GstElement *
|
|
Packit |
971217 |
Get or set the current audio stream combiner. By default, an input-selector
|
|
Packit |
971217 |
is created and deleted as-needed.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “av-offset” property
|
|
Packit |
971217 |
“av-offset” gint64
|
|
Packit |
971217 |
Control the synchronisation offset between the audio and video streams.
|
|
Packit |
971217 |
Positive values make the audio ahead of the video and negative values make
|
|
Packit |
971217 |
the audio go behind the video.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: 0
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “buffer-duration” property
|
|
Packit |
971217 |
“buffer-duration” gint64
|
|
Packit |
971217 |
Buffer duration when buffering network streams.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: >= G_MAXULONG
|
|
Packit |
971217 |
Default value: -1
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “buffer-size” property
|
|
Packit |
971217 |
“buffer-size” gint
|
|
Packit |
971217 |
Buffer size when buffering network streams.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: >= G_MAXULONG
|
|
Packit |
971217 |
Default value: -1
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “connection-speed” property
|
|
Packit |
971217 |
“connection-speed” guint64
|
|
Packit |
971217 |
Network connection speed in kbps (0 = unknown).
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: <= 18446744073709551
|
|
Packit |
971217 |
Default value: 0
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “current-audio” property
|
|
Packit |
971217 |
“current-audio” gint
|
|
Packit |
971217 |
Get or set the currently playing audio stream. By default the first audio
|
|
Packit |
971217 |
stream with data is played.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: >= G_MAXULONG
|
|
Packit |
971217 |
Default value: -1
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “current-suburi” property
|
|
Packit |
971217 |
“current-suburi” gchar *
|
|
Packit |
971217 |
The currently playing subtitle uri.
|
|
Packit |
971217 |
Flags: Read
|
|
Packit |
971217 |
Default value: NULL
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “current-text” property
|
|
Packit |
971217 |
“current-text” gint
|
|
Packit |
971217 |
Get or set the currently playing subtitle stream. By default the first
|
|
Packit |
971217 |
subtitle stream with data is played.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: >= G_MAXULONG
|
|
Packit |
971217 |
Default value: -1
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “current-uri” property
|
|
Packit |
971217 |
“current-uri” gchar *
|
|
Packit |
971217 |
The currently playing uri.
|
|
Packit |
971217 |
Flags: Read
|
|
Packit |
971217 |
Default value: NULL
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “current-video” property
|
|
Packit |
971217 |
“current-video” gint
|
|
Packit |
971217 |
Get or set the currently playing video stream. By default the first video
|
|
Packit |
971217 |
stream with data is played.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: >= G_MAXULONG
|
|
Packit |
971217 |
Default value: -1
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “flags” property
|
|
Packit |
971217 |
“flags” GstPlayFlags
|
|
Packit |
971217 |
Control the behaviour of playbin.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: Render the video stream|Render the audio stream|Render subtitles|Use software volume|Deinterlace video if necessary|Use software color balance
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “force-aspect-ratio” property
|
|
Packit |
971217 |
“force-aspect-ratio” gboolean
|
|
Packit |
971217 |
When enabled, scaling will respect original aspect ratio.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: TRUE
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “mute” property
|
|
Packit |
971217 |
“mute” gboolean
|
|
Packit |
971217 |
Mute the audio channel without changing the volume.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: FALSE
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “n-audio” property
|
|
Packit |
971217 |
“n-audio” gint
|
|
Packit |
971217 |
Get the total number of available audio streams.
|
|
Packit |
971217 |
Flags: Read
|
|
Packit |
971217 |
Allowed values: >= 0
|
|
Packit |
971217 |
Default value: 0
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “n-text” property
|
|
Packit |
971217 |
“n-text” gint
|
|
Packit |
971217 |
Get the total number of available subtitle streams.
|
|
Packit |
971217 |
Flags: Read
|
|
Packit |
971217 |
Allowed values: >= 0
|
|
Packit |
971217 |
Default value: 0
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “n-video” property
|
|
Packit |
971217 |
“n-video” gint
|
|
Packit |
971217 |
Get the total number of available video streams.
|
|
Packit |
971217 |
Flags: Read
|
|
Packit |
971217 |
Allowed values: >= 0
|
|
Packit |
971217 |
Default value: 0
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “ring-buffer-max-size” property
|
|
Packit |
971217 |
“ring-buffer-max-size” guint64
|
|
Packit |
971217 |
The maximum size of the ring buffer in bytes. If set to 0, the ring
|
|
Packit |
971217 |
buffer is disabled. Default 0.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: <= G_MAXUINT
|
|
Packit |
971217 |
Default value: 0
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “sample” property
|
|
Packit |
971217 |
“sample” GstSample *
|
|
Packit |
971217 |
Get the currently rendered or prerolled sample in the video sink.
|
|
Packit |
971217 |
The GstCaps in the sample will describe the format of the buffer.
|
|
Packit |
971217 |
Flags: Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “source” property
|
|
Packit |
971217 |
“source” GstElement *
|
|
Packit |
971217 |
Source element.
|
|
Packit |
971217 |
Flags: Read
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “subtitle-encoding” property
|
|
Packit |
971217 |
“subtitle-encoding” gchar *
|
|
Packit |
971217 |
Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: NULL
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “subtitle-font-desc” property
|
|
Packit |
971217 |
“subtitle-font-desc” gchar *
|
|
Packit |
971217 |
Pango font description of font to be used for subtitle rendering.
|
|
Packit |
971217 |
Flags: Write
|
|
Packit |
971217 |
Default value: NULL
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “suburi” property
|
|
Packit |
971217 |
“suburi” gchar *
|
|
Packit |
971217 |
Set the next subtitle URI that playbin will play. This property can be
|
|
Packit |
971217 |
set from the about-to-finish signal to queue the next subtitle media file.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: NULL
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “text-sink” property
|
|
Packit |
971217 |
“text-sink” GstElement *
|
|
Packit |
971217 |
the text output element to use (NULL = default subtitleoverlay).
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “text-stream-combiner” property
|
|
Packit |
971217 |
“text-stream-combiner” GstElement *
|
|
Packit |
971217 |
Get or set the current text stream combiner. By default, an input-selector
|
|
Packit |
971217 |
is created and deleted as-needed.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “uri” property
|
|
Packit |
971217 |
“uri” gchar *
|
|
Packit |
971217 |
Set the next URI that playbin will play. This property can be set from the
|
|
Packit |
971217 |
about-to-finish signal to queue the next media file.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: NULL
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “video-sink” property
|
|
Packit |
971217 |
“video-sink” GstElement *
|
|
Packit |
971217 |
the video output element to use (NULL = default sink).
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “video-stream-combiner” property
|
|
Packit |
971217 |
“video-stream-combiner” GstElement *
|
|
Packit |
971217 |
Get or set the current video stream combiner. By default, an input-selector
|
|
Packit |
971217 |
is created and deleted as-needed.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “vis-plugin” property
|
|
Packit |
971217 |
“vis-plugin” GstElement *
|
|
Packit |
971217 |
the visualization element to use (NULL = default).
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “volume” property
|
|
Packit |
971217 |
“volume” gdouble
|
|
Packit |
971217 |
Get or set the current audio stream volume. 1.0 means 100%,
|
|
Packit |
971217 |
0.0 means mute. This uses a linear volume scale.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Allowed values: [0,10]
|
|
Packit |
971217 |
Default value: 1
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “audio-filter” property
|
|
Packit |
971217 |
“audio-filter” GstElement *
|
|
Packit |
971217 |
the audio filter(s) to apply, if possible.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “video-filter” property
|
|
Packit |
971217 |
“video-filter” GstElement *
|
|
Packit |
971217 |
the video filter(s) to apply, if possible.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “video-multiview-flags” property
|
|
Packit |
971217 |
“video-multiview-flags” GstVideoMultiviewFlags
|
|
Packit |
971217 |
Override details of the multiview frame layout.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “video-multiview-mode” property
|
|
Packit |
971217 |
“video-multiview-mode” GstVideoMultiviewFramePacking
|
|
Packit |
971217 |
Re-interpret a video stream as one of several frame-packed stereoscopic modes.
|
|
Packit |
971217 |
Flags: Read / Write
|
|
Packit |
971217 |
Default value: GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Signal Details
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “about-to-finish” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted when the current uri is about to finish. You can
|
|
Packit |
971217 |
set the uri and suburi to make sure that playback continues.
|
|
Packit |
971217 |
This signal is emitted from the context of a GStreamer streaming thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “audio-changed” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted whenever the number or order of the audio
|
|
Packit |
971217 |
streams has changed. The application will most likely want to select
|
|
Packit |
971217 |
a new audio stream.
|
|
Packit |
971217 |
This signal may be emitted from the context of a GStreamer streaming thread.
|
|
Packit |
971217 |
You can use gst_message_new_application() and gst_element_post_message()
|
|
Packit |
971217 |
to notify your application's main thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “audio-tags-changed” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted whenever the tags of an audio stream have changed.
|
|
Packit |
971217 |
The application will most likely want to get the new tags.
|
|
Packit |
971217 |
This signal may be emitted from the context of a GStreamer streaming thread.
|
|
Packit |
971217 |
You can use gst_message_new_application() and gst_element_post_message()
|
|
Packit |
971217 |
to notify your application's main thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
stream index with changed tags
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “convert-sample” signal
|
|
Packit |
971217 |
GstSample*
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
GstCaps *caps,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
Action signal to retrieve the currently playing video frame in the format
|
|
Packit |
971217 |
specified by caps
|
|
Packit |
971217 |
.
|
|
Packit |
971217 |
If caps
|
|
Packit |
971217 |
is NULL , no conversion will be performed and this function is
|
|
Packit |
971217 |
equivalent to the “sample” property.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
caps
|
|
Packit |
971217 |
the target format of the frame
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Returns
|
|
Packit |
971217 |
a GstSample of the current video frame converted to caps.
|
|
Packit |
971217 |
The caps on the sample will describe the final layout of the buffer data.
|
|
Packit |
971217 |
NULL is returned when no current buffer can be retrieved or when the
|
|
Packit |
971217 |
conversion failed.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “get-audio-pad” signal
|
|
Packit |
971217 |
GstPad*
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
Action signal to retrieve the stream-combiner sinkpad for a specific
|
|
Packit |
971217 |
audio stream.
|
|
Packit |
971217 |
This pad can be used for notifications of caps changes, stream-specific
|
|
Packit |
971217 |
queries, etc.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
an audio stream number
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Returns
|
|
Packit |
971217 |
a GstPad, or NULL when the stream number does not exist.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “get-audio-tags” signal
|
|
Packit |
971217 |
GstTagList*
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
Action signal to retrieve the tags of a specific audio stream number.
|
|
Packit |
971217 |
This information can be used to select a stream.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
an audio stream number
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Returns
|
|
Packit |
971217 |
a GstTagList with tags or NULL when the stream number does not
|
|
Packit |
971217 |
exist.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “get-text-pad” signal
|
|
Packit |
971217 |
GstPad*
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
Action signal to retrieve the stream-combiner sinkpad for a specific
|
|
Packit |
971217 |
text stream.
|
|
Packit |
971217 |
This pad can be used for notifications of caps changes, stream-specific
|
|
Packit |
971217 |
queries, etc.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
a text stream number
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Returns
|
|
Packit |
971217 |
a GstPad, or NULL when the stream number does not exist.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “get-text-tags” signal
|
|
Packit |
971217 |
GstTagList*
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
Action signal to retrieve the tags of a specific text stream number.
|
|
Packit |
971217 |
This information can be used to select a stream.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
a text stream number
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Returns
|
|
Packit |
971217 |
a GstTagList with tags or NULL when the stream number does not
|
|
Packit |
971217 |
exist.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “get-video-pad” signal
|
|
Packit |
971217 |
GstPad*
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
Action signal to retrieve the stream-combiner sinkpad for a specific
|
|
Packit |
971217 |
video stream.
|
|
Packit |
971217 |
This pad can be used for notifications of caps changes, stream-specific
|
|
Packit |
971217 |
queries, etc.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
a video stream number
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Returns
|
|
Packit |
971217 |
a GstPad, or NULL when the stream number does not exist.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “get-video-tags” signal
|
|
Packit |
971217 |
GstTagList*
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
Action signal to retrieve the tags of a specific video stream number.
|
|
Packit |
971217 |
This information can be used to select a stream.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
a video stream number
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Returns
|
|
Packit |
971217 |
a GstTagList with tags or NULL when the stream number does not
|
|
Packit |
971217 |
exist.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Action
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “source-setup” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
GstElement *source,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted after the source element has been created, so
|
|
Packit |
971217 |
it can be configured by setting additional properties (e.g. set a
|
|
Packit |
971217 |
proxy server for an http source, or set the device and read speed for
|
|
Packit |
971217 |
an audio cd source). This is functionally equivalent to connecting to
|
|
Packit |
971217 |
the notify::source signal, but more convenient.
|
|
Packit |
971217 |
This signal is usually emitted from the context of a GStreamer streaming
|
|
Packit |
971217 |
thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
source
|
|
Packit |
971217 |
source element
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “text-changed” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted whenever the number or order of the text
|
|
Packit |
971217 |
streams has changed. The application will most likely want to select
|
|
Packit |
971217 |
a new text stream.
|
|
Packit |
971217 |
This signal may be emitted from the context of a GStreamer streaming thread.
|
|
Packit |
971217 |
You can use gst_message_new_application() and gst_element_post_message()
|
|
Packit |
971217 |
to notify your application's main thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “text-tags-changed” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted whenever the tags of a text stream have changed.
|
|
Packit |
971217 |
The application will most likely want to get the new tags.
|
|
Packit |
971217 |
This signal may be emitted from the context of a GStreamer streaming thread.
|
|
Packit |
971217 |
You can use gst_message_new_application() and gst_element_post_message()
|
|
Packit |
971217 |
to notify your application's main thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
stream index with changed tags
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “video-changed” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted whenever the number or order of the video
|
|
Packit |
971217 |
streams has changed. The application will most likely want to select
|
|
Packit |
971217 |
a new video stream.
|
|
Packit |
971217 |
This signal is usually emitted from the context of a GStreamer streaming
|
|
Packit |
971217 |
thread. You can use gst_message_new_application() and
|
|
Packit |
971217 |
gst_element_post_message() to notify your application's main thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “video-tags-changed” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
gint stream,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted whenever the tags of a video stream have changed.
|
|
Packit |
971217 |
The application will most likely want to get the new tags.
|
|
Packit |
971217 |
This signal may be emitted from the context of a GStreamer streaming thread.
|
|
Packit |
971217 |
You can use gst_message_new_application() and gst_element_post_message()
|
|
Packit |
971217 |
to notify your application's main thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
stream
|
|
Packit |
971217 |
stream index with changed tags
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
The “element-setup” signal
|
|
Packit |
971217 |
void
|
|
Packit |
971217 |
user_function (GstPlayBin *playbin,
|
|
Packit |
971217 |
GstElement *element,
|
|
Packit |
971217 |
gpointer user_data)
|
|
Packit |
971217 |
This signal is emitted when a new element is added to playbin or any of
|
|
Packit |
971217 |
its sub-bins. This signal can be used to configure elements, e.g. to set
|
|
Packit |
971217 |
properties on decoders. This is functionally equivalent to connecting to
|
|
Packit |
971217 |
the deep-element-added signal, but more convenient.
|
|
Packit |
971217 |
This signal is usually emitted from the context of a GStreamer streaming
|
|
Packit |
971217 |
thread, so might be called at the same time as code running in the main
|
|
Packit |
971217 |
application thread.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Parameters
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
playbin
|
|
Packit |
971217 |
a GstPlayBin
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
element
|
|
Packit |
971217 |
an element that was added to the playbin hierarchy
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
user_data
|
|
Packit |
971217 |
user data set when the signal handler was connected.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Flags: Run Last
|
|
Packit |
971217 |
Since: 1.10
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
|
|
Packit |
971217 |
Generated by GTK-Doc V1.27
|
|
Packit |
971217 |
</body>
|
|
Packit |
971217 |
</html>
|