Fix hotdoc warnings

This commit is contained in:
Olivier Crête 2016-10-06 15:41:20 -04:00
parent ac54228e18
commit 0cf3f41778
13 changed files with 80 additions and 83 deletions

View file

@ -175,188 +175,188 @@ videoconvert (for video) in front of the sink to make things work.
**Audio playback** **Audio playback**
**gst-launch-1.0 filesrc location=music.mp3 ! mad ! audioconvert ! `gst-launch-1.0 filesrc location=music.mp3 ! mad ! audioconvert !
audioresample ! osssink** Play the mp3 music file "music.mp3" using a audioresample ! osssink` Play the mp3 music file "music.mp3" using a
libmad-based plug-in and output to an OSS device libmad-based plug-in and output to an OSS device
**gst-launch-1.0 filesrc location=music.ogg ! oggdemux ! vorbisdec ! `gst-launch-1.0 filesrc location=music.ogg ! oggdemux ! vorbisdec !
audioconvert ! audioresample ! osssink** Play an Ogg Vorbis format file audioconvert ! audioresample ! osssink` Play an Ogg Vorbis format file
**gst-launch-1.0 gnomevfssrc location=music.mp3 ! mad ! osssink `gst-launch-1.0 gnomevfssrc location=music.mp3 ! mad ! osssink
gst-launch-1.0 gnomevfssrc location=<http://domain.com/music.mp3> ! mad gst-launch-1.0 gnomevfssrc location=<http://domain.com/music.mp3> ! mad
! audioconvert ! audioresample ! osssink** Play an mp3 file or an http ! audioconvert ! audioresample ! osssink` Play an mp3 file or an http
stream using GNOME-VFS stream using GNOME-VFS
**gst-launch-1.0 gnomevfssrc location=<smb://computer/music.mp3> ! mad ! `gst-launch-1.0 gnomevfssrc location=<smb://computer/music.mp3> ! mad !
audioconvert ! audioresample ! osssink** Use GNOME-VFS to play an mp3 audioconvert ! audioresample ! osssink` Use GNOME-VFS to play an mp3
file located on an SMB server file located on an SMB server
**Format conversion** **Format conversion**
**gst-launch-1.0 filesrc location=music.mp3 ! mad ! audioconvert ! `gst-launch-1.0 filesrc location=music.mp3 ! mad ! audioconvert !
vorbisenc ! oggmux ! filesink location=music.ogg** Convert an mp3 music vorbisenc ! oggmux ! filesink location=music.ogg` Convert an mp3 music
file to an Ogg Vorbis file file to an Ogg Vorbis file
**gst-launch-1.0 filesrc location=music.mp3 ! mad ! audioconvert ! `gst-launch-1.0 filesrc location=music.mp3 ! mad ! audioconvert !
flacenc ! filesink location=test.flac** Convert to the FLAC format flacenc ! filesink location=test.flac` Convert to the FLAC format
**Other** **Other**
**gst-launch-1.0 filesrc location=music.wav ! wavparse ! audioconvert ! `gst-launch-1.0 filesrc location=music.wav ! wavparse ! audioconvert !
audioresample ! osssink** Plays a .WAV file that contains raw audio data audioresample ! osssink` Plays a .WAV file that contains raw audio data
(PCM). (PCM).
**gst-launch-1.0 filesrc location=music.wav ! wavparse ! audioconvert ! `gst-launch-1.0 filesrc location=music.wav ! wavparse ! audioconvert !
vorbisenc ! oggmux ! filesink location=music.ogg gst-launch-1.0 filesrc vorbisenc ! oggmux ! filesink location=music.ogg gst-launch-1.0 filesrc
location=music.wav ! wavparse ! audioconvert ! lame ! filesink location=music.wav ! wavparse ! audioconvert ! lame ! filesink
location=music.mp3** Convert a .WAV file containing raw audio data into location=music.mp3` Convert a .WAV file containing raw audio data into
an Ogg Vorbis or mp3 file an Ogg Vorbis or mp3 file
**gst-launch-1.0 cdparanoiasrc mode=continuous ! audioconvert ! lame ! `gst-launch-1.0 cdparanoiasrc mode=continuous ! audioconvert ! lame !
id3v2mux ! filesink location=cd.mp3** rips all tracks from compact disc id3v2mux ! filesink location=cd.mp3` rips all tracks from compact disc
and convert them into a single mp3 file and convert them into a single mp3 file
**gst-launch-1.0 cdparanoiasrc track=5 ! audioconvert ! lame ! id3v2mux `gst-launch-1.0 cdparanoiasrc track=5 ! audioconvert ! lame ! id3v2mux
! filesink location=track5.mp3** rips track 5 from the CD and converts ! filesink location=track5.mp3` rips track 5 from the CD and converts
it into a single mp3 file it into a single mp3 file
Using **gst-inspect-1.0**(1), it is possible to discover settings like Using **gst-inspect-1.0**(1), it is possible to discover settings like
the above for cdparanoiasrc that will tell it to rip the entire cd or the above for cdparanoiasrc that will tell it to rip the entire cd or
only tracks of it. Alternatively, you can use an URI and gst-launch-1.0 only tracks of it. Alternatively, you can use an URI and gst-launch-1.0
will find an element (such as cdparanoia) that supports that protocol will find an element (such as cdparanoia) that supports that protocol
for you, e.g.: **gst-launch-1.0 \[cdda://5\] ! lame vbr=new for you, e.g.: `gst-launch-1.0 \[cdda://5\] ! lame vbr=new
vbr-quality=6 ! filesink location=track5.mp3** vbr-quality=6 ! filesink location=track5.mp3`
**gst-launch-1.0 osssrc ! audioconvert ! vorbisenc ! oggmux ! filesink `gst-launch-1.0 osssrc ! audioconvert ! vorbisenc ! oggmux ! filesink
location=input.ogg** records sound from your audio input and encodes it location=input.ogg` records sound from your audio input and encodes it
into an ogg file into an ogg file
**Video** **Video**
**gst-launch-1.0 filesrc location=JB\_FF9\_TheGravityOfLove.mpg ! `gst-launch-1.0 filesrc location=JB\_FF9\_TheGravityOfLove.mpg !
dvddemux ! mpeg2dec ! xvimagesink** Display only the video portion of an dvddemux ! mpeg2dec ! xvimagesink` Display only the video portion of an
MPEG-1 video file, outputting to an X display window MPEG-1 video file, outputting to an X display window
**gst-launch-1.0 filesrc location=/flflfj.vob ! dvddemux ! mpeg2dec ! `gst-launch-1.0 filesrc location=/flflfj.vob ! dvddemux ! mpeg2dec !
sdlvideosink** Display the video portion of a .vob file (used on DVDs), sdlvideosink` Display the video portion of a .vob file (used on DVDs),
outputting to an SDL window outputting to an SDL window
**gst-launch-1.0 filesrc location=movie.mpg ! dvddemux name=demuxer `gst-launch-1.0 filesrc location=movie.mpg ! dvddemux name=demuxer
demuxer. ! queue ! mpeg2dec ! sdlvideosink demuxer. ! queue ! mad ! demuxer. ! queue ! mpeg2dec ! sdlvideosink demuxer. ! queue ! mad !
audioconvert ! audioresample ! osssink** Play both video and audio audioconvert ! audioresample ! osssink` Play both video and audio
portions of an MPEG movie portions of an MPEG movie
**gst-launch-1.0 filesrc location=movie.mpg ! mpegdemux name=demuxer `gst-launch-1.0 filesrc location=movie.mpg ! mpegdemux name=demuxer
demuxer. ! queue ! mpeg2dec ! videoconvert ! sdlvideosink demuxer. ! demuxer. ! queue ! mpeg2dec ! videoconvert ! sdlvideosink demuxer. !
queue ! mad ! audioconvert ! audioresample ! osssink** Play an AVI movie queue ! mad ! audioconvert ! audioresample ! osssink` Play an AVI movie
with an external text subtitle stream with an external text subtitle stream
This example also shows how to refer to specific pads by name if an This example also shows how to refer to specific pads by name if an
element (here: textoverlay) has multiple sink or source pads. element (here: textoverlay) has multiple sink or source pads.
**gst-launch-1.0 textoverlay name=overlay ! videoconvert ! `gst-launch-1.0 textoverlay name=overlay ! videoconvert !
videoscale ! autovideosink filesrc location=movie.avi ! decodebin2 ! videoscale ! autovideosink filesrc location=movie.avi ! decodebin2 !
videoconvert ! overlay.video\_sink filesrc location=movie.srt ! videoconvert ! overlay.video\_sink filesrc location=movie.srt !
subparse ! overlay.text\_sink** subparse ! overlay.text\_sink`
Play an AVI movie with an external text subtitle stream using playbin Play an AVI movie with an external text subtitle stream using playbin
**gst-launch-1.0 playbin uri=<file:///path/to/movie.avi> `gst-launch-1.0 playbin uri=<file:///path/to/movie.avi>
suburi=<file:///path/to/movie.srt>** suburi=<file:///path/to/movie.srt>`
**Network streaming** **Network streaming**
Stream video using RTP and network elements. Stream video using RTP and network elements.
**gst-launch-1.0 v4l2src ! `gst-launch-1.0 v4l2src !
video/x-raw-yuv,width=128,height=96,format='(fourcc)'UYVY ! video/x-raw-yuv,width=128,height=96,format='(fourcc)'UYVY !
videoconvert ! ffenc\_h263 ! video/x-h263 ! rtph263ppay pt=96 ! videoconvert ! ffenc\_h263 ! video/x-h263 ! rtph263ppay pt=96 !
udpsink host=192.168.1.1 port=5000 sync=false** Use this command on the udpsink host=192.168.1.1 port=5000 sync=false` Use this command on the
receiver receiver
**gst-launch-1.0 udpsrc port=5000 ! application/x-rtp, `gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,
clock-rate=90000,payload=96 ! rtph263pdepay queue-delay=0 ! ffdec\_h263 clock-rate=90000,payload=96 ! rtph263pdepay queue-delay=0 ! ffdec\_h263
! xvimagesink** This command would be run on the transmitter ! xvimagesink` This command would be run on the transmitter
**Diagnostic** **Diagnostic**
**gst-launch-1.0 -v fakesrc num-buffers=16 ! fakesink** Generate a null `gst-launch-1.0 -v fakesrc num-buffers=16 ! fakesink` Generate a null
stream and ignore it (and print out details). stream and ignore it (and print out details).
**gst-launch-1.0 audiotestsrc ! audioconvert ! audioresample ! osssink** `gst-launch-1.0 audiotestsrc ! audioconvert ! audioresample ! osssink`
Generate a pure sine tone to test the audio output Generate a pure sine tone to test the audio output
**gst-launch-1.0 videotestsrc ! xvimagesink gst-launch-1.0 videotestsrc `gst-launch-1.0 videotestsrc ! xvimagesink gst-launch-1.0 videotestsrc
! ximagesink** Generate a familiar test pattern to test the video output ! ximagesink` Generate a familiar test pattern to test the video output
**Automatic linking** **Automatic linking**
You can use the decodebin element to automatically select the right You can use the decodebin element to automatically select the right
elements to get a working pipeline. elements to get a working pipeline.
**gst-launch-1.0 filesrc location=musicfile ! decodebin ! audioconvert ! `gst-launch-1.0 filesrc location=musicfile ! decodebin ! audioconvert !
audioresample ! osssink** Play any supported audio format audioresample ! osssink` Play any supported audio format
**gst-launch-1.0 filesrc location=videofile ! decodebin name=decoder `gst-launch-1.0 filesrc location=videofile ! decodebin name=decoder
decoder. ! queue ! audioconvert ! audioresample ! osssink decoder. ! decoder. ! queue ! audioconvert ! audioresample ! osssink decoder. !
videoconvert ! xvimagesink** Play any supported video format with videoconvert ! xvimagesink` Play any supported video format with
video and audio output. Threads are used automatically. To make this video and audio output. Threads are used automatically. To make this
even easier, you can use the playbin element: even easier, you can use the playbin element:
**gst-launch-1.0 playbin uri=<file:///home/joe/foo.avi>** `gst-launch-1.0 playbin uri=<file:///home/joe/foo.avi>`
**Filtered connections** **Filtered connections**
These examples show you how to use filtered caps. These examples show you how to use filtered caps.
**gst-launch-1.0 videotestsrc ! `gst-launch-1.0 videotestsrc !
'video/x-raw-yuv,format=(fourcc)YUY2;video/x-raw-yuv,format=(fourcc)YV12' 'video/x-raw-yuv,format=(fourcc)YUY2;video/x-raw-yuv,format=(fourcc)YV12'
! xvimagesink** Show a test image and use the YUY2 or YV12 video format ! xvimagesink` Show a test image and use the YUY2 or YV12 video format
for this. for this.
**gst-launch-1.0 osssrc ! `gst-launch-1.0 osssrc !
'audio/x-raw-int,rate=\[32000,64000\],width=\[16,32\],depth={16,24,32},signed=(boolean)true' 'audio/x-raw-int,rate=\[32000,64000\],width=\[16,32\],depth={16,24,32},signed=(boolean)true'
! wavenc ! filesink location=recording.wav** record audio and write it ! wavenc ! filesink location=recording.wav` record audio and write it
to a .wav file. Force usage of signed 16 to 32 bit samples and a sample to a .wav file. Force usage of signed 16 to 32 bit samples and a sample
rate between 32kHz and 64KHz. rate between 32kHz and 64KHz.
## Environment Variables ## Environment Variables
**GST\_DEBUG**: Comma-separated list of debug categories and levels, `GST\_DEBUG`: Comma-separated list of debug categories and levels,
e.g. GST\_DEBUG= totem:4,typefind:5 e.g. GST\_DEBUG= totem:4,typefind:5
**GST\_DEBUG\_NO\_COLOR**: When this environment variable is set, `GST\_DEBUG\_NO\_COLOR`: When this environment variable is set,
coloured debug output is disabled. coloured debug output is disabled.
**GST\_DEBUG\_DUMP\_DOT\_DIR**: When set to a filesystem path, store dot `GST\_DEBUG\_DUMP\_DOT\_DIR`: When set to a filesystem path, store dot
files of pipeline graphs there. files of pipeline graphs there.
**GST\_REGISTRY**: Path of the plugin registry file. Default is `GST\_REGISTRY`: Path of the plugin registry file. Default is
\~/.gstreamer-1.0/registry-CPU.xml where CPU is the machine/cpu type \~/.gstreamer-1.0/registry-CPU.xml where CPU is the machine/cpu type
GStreamer was compiled for, e.g. 'i486', 'i686', 'x86-64', 'ppc', etc. GStreamer was compiled for, e.g. 'i486', 'i686', 'x86-64', 'ppc', etc.
(check the output of "uname -i" and "uname -m" for details). (check the output of "uname -i" and "uname -m" for details).
**GST\_REGISTRY\_UPDATE**: Set to "no" to force GStreamer to assume that `GST\_REGISTRY\_UPDATE`: Set to "no" to force GStreamer to assume that
no plugins have changed, been added or been removed. This will make no plugins have changed, been added or been removed. This will make
GStreamer skip the initial check whether a rebuild of the registry cache GStreamer skip the initial check whether a rebuild of the registry cache
is required or not. This may be useful in embedded environments where is required or not. This may be useful in embedded environments where
the installed plugins never change. Do not use this option in any other the installed plugins never change. Do not use this option in any other
setup. setup.
**GST\_PLUGIN\_PATH**: Specifies a list of directories to scan for `GST\_PLUGIN\_PATH`: Specifies a list of directories to scan for
additional plugins. These take precedence over the system plugins. additional plugins. These take precedence over the system plugins.
**GST\_PLUGIN\_SYSTEM\_PATH**: Specifies a list of plugins that are `GST\_PLUGIN\_SYSTEM\_PATH`: Specifies a list of plugins that are
always loaded by default. If not set, this defaults to the always loaded by default. If not set, this defaults to the
system-installed path, and the plugins installed in the user's home system-installed path, and the plugins installed in the user's home
directory directory
**OIL\_CPU\_FLAGS**: Useful liboil environment variable. Set `OIL\_CPU\_FLAGS`: Useful liboil environment variable. Set
OIL\_CPU\_FLAGS=0 when valgrind or other debugging tools trip over OIL\_CPU\_FLAGS=0 when valgrind or other debugging tools trip over
liboil's CPU detection (quite a few important GStreamer plugins like liboil's CPU detection (quite a few important GStreamer plugins like
videotestsrc, audioconvert or audioresample use liboil). videotestsrc, audioconvert or audioresample use liboil).
**G\_DEBUG**: Useful GLib environment variable. Set `G\_DEBUG`: Useful GLib environment variable. Set
G\_DEBUG=fatal\_warnings to make GStreamer programs abort when a G\_DEBUG=fatal\_warnings to make GStreamer programs abort when a
critical warning such as an assertion failure occurs. This is useful if critical warning such as an assertion failure occurs. This is useful if
you want to find out which part of the code caused that warning to be you want to find out which part of the code caused that warning to be

View file

@ -8,7 +8,7 @@ information becomes available, instead of having a monolithic pipeline
defined at the beginning of your application. defined at the beginning of your application.
After this tutorial, you will have the necessary knowledge to start the After this tutorial, you will have the necessary knowledge to start the
[Playback tutorials](Playback+tutorials.html). The points reviewed [Playback tutorials](sdk-playback-tutorials.md). The points reviewed
here will be: here will be:
- How to attain finer control when linking elements. - How to attain finer control when linking elements.

View file

@ -21,7 +21,7 @@ polluting it too much).
Just open a terminal (or console window) and go to the `bin` directory Just open a terminal (or console window) and go to the `bin` directory
of your GStreamer installation (Read again the [Installing of your GStreamer installation (Read again the [Installing
GStreamer](sdk-installing.html) section to find our where this is), GStreamer](sdk-installing.md) section to find our where this is),
and you are ready to start typing the commands given in this tutorial. and you are ready to start typing the commands given in this tutorial.

View file

@ -335,7 +335,7 @@ int main(int argc, char *argv[]) {
> ![Information](images/icons/emoticons/information.png) > ![Information](images/icons/emoticons/information.png)
> Need help? > Need help?
> >
> If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Build), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Build) or [Windows](sdk-installing-on-windows.mdb#InstallingonWindows-Build), or use this specific command on Linux: > If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Build), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Build) or [Windows](sdk-installing-on-windows.md#InstallingonWindows-Build), or use this specific command on Linux:
> >
> `` gcc basic-tutorial-6.c -o basic-tutorial-6 `pkg-config --cflags --libs gstreamer-1.0` `` > `` gcc basic-tutorial-6.c -o basic-tutorial-6 `pkg-config --cflags --libs gstreamer-1.0` ``
> >

View file

@ -212,7 +212,7 @@ int main(int argc, char *argv[]) {
> ![Information](images/icons/emoticons/information.png) > ![Information](images/icons/emoticons/information.png)
> Need help? > Need help?
> >
> If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Build), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Build) or [Windows](sdk-installing-on-windows.mdb#InstallingonWindows-Build), or use this specific command on Linux: > If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Build), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Build) or [Windows](sdk-installing-on-windows.md#InstallingonWindows-Build), or use this specific command on Linux:
> >
> `` gcc basic-tutorial-13.c -o basic-tutorial-13 `pkg-config --cflags --libs gstreamer-1.0` `` > `` gcc basic-tutorial-13.c -o basic-tutorial-13 `pkg-config --cflags --libs gstreamer-1.0` ``
> >

View file

@ -156,7 +156,7 @@ int main(int argc, char *argv[]) {
> ![Information](images/icons/emoticons/information.png) > ![Information](images/icons/emoticons/information.png)
> Need help? > Need help?
> >
> If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Build), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Build) or [Windows](sdk-installing-on-windows.mdb#InstallingonWindows-Build), or use this specific command on Linux: > If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Build), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Build) or [Windows](sdk-installing-on-windows.md#InstallingonWindows-Build), or use this specific command on Linux:
> >
> `` gcc basic-tutorial-12.c -o basic-tutorial-12 `pkg-config --cflags --libs gstreamer-1.0` `` > `` gcc basic-tutorial-12.c -o basic-tutorial-12 `pkg-config --cflags --libs gstreamer-1.0` ``
> >

View file

@ -456,16 +456,16 @@ int main(int argc, char *argv[]) {
> ![Information](images/icons/emoticons/information.png) > ![Information](images/icons/emoticons/information.png)
> Need help? > Need help?
> >
> If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](Installing+on+Linux.html#InstallingonLinux-Build), [Mac OS X](Installing+on+Mac+OS+X.html#InstallingonMacOSX-Build) or [Windows](Installing+on+Windows.html#InstallingonWindows-Build), or use this specific command on Linux: > If you need help to compile this code, refer to the **Building the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Build), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Build) or [Windows](sdk-installing-on-windows.md#InstallingonWindows-Build), or use this specific command on Linux:
> >
> ``gcc basic-tutorial-5.c -o basic-tutorial-5 `pkg-config --cflags --libs gstreamer-interfaces-1.0 gtk+-3.0 gstreamer-1.0`` > ``gcc basic-tutorial-5.c -o basic-tutorial-5 `pkg-config --cflags --libs gstreamer-interfaces-1.0 gtk+-3.0 gstreamer-1.0``
> >
>If you need help to run this code, refer to the **Running the tutorials** section for your platform: [Linux](Installing+on+Linux.html#InstallingonLinux-Run), [Mac OS X](Installing+on+Mac+OS+X.html#InstallingonMacOSX-Run) or [Windows](Installing+on+Windows.html#InstallingonWindows-Run). >If you need help to run this code, refer to the **Running the tutorials** section for your platform: [Linux](sdk-installing-on-linux.md#InstallingonLinux-Run), [Mac OS X](sdk-installing-on-mac-osx.md#InstallingonMacOSX-Run) or [Windows](sdk-installing-on-windows.md#InstallingonWindows-Run).
> >
> This tutorial opens a GTK+ window and displays a movie, with accompanying audio. The media is fetched from the Internet, so the window might take a few seconds to appear, depending on your connection speed. The Window has some GTK+ buttons to Pause, Stop and Play the movie, and a slider to show the current position of the stream, which can be dragged to change it. Also, information about the stream is shown on a column at the right edge of the window. > This tutorial opens a GTK+ window and displays a movie, with accompanying audio. The media is fetched from the Internet, so the window might take a few seconds to appear, depending on your connection speed. The Window has some GTK+ buttons to Pause, Stop and Play the movie, and a slider to show the current position of the stream, which can be dragged to change it. Also, information about the stream is shown on a column at the right edge of the window.
> >
> >
> Bear in mind that there is no latency management (buffering), so on slow connections, the movie might stop after a few seconds. See how [Basic tutorial 12: Streaming](sdk-basic-tutorial-streaming.md) solves this issue. > Bear in mind that there is no latency management (buffering), so on slow connections, the movie might stop after a few seconds. See how [](sdk-basic-tutorial-streaming.md) solves this issue.
> >
> Required libraries: `gstreamer-video-1.0 gtk+-3.0 gstreamer-1.0` > Required libraries: `gstreamer-video-1.0 gtk+-3.0 gstreamer-1.0`
@ -562,8 +562,7 @@ g_signal_connect (G_OBJECT (bus), "message::application", (GCallback)application
gst_object_unref (bus); gst_object_unref (bus);
``` ```
In [Playback tutorial 1: Playbin In [](sdk-playback-tutorial-playbin-usage.md), `gst_bus_add_watch()` is
usage](sdk-playback-tutorial-playbin-usage.md), `gst_bus_add_watch()` is
used to register a function that receives every message posted to the used to register a function that receives every message posted to the
GStreamer bus. We can achieve a finer granularity by using signals GStreamer bus. We can achieve a finer granularity by using signals
instead, which allow us to register only to the messages we are instead, which allow us to register only to the messages we are
@ -719,7 +718,7 @@ slider that allows seeking) can be very easily implemented thanks to
GStreamer and GTK+ collaborating. If the slider has been dragged to a GStreamer and GTK+ collaborating. If the slider has been dragged to a
new position, tell GStreamer to seek to that position new position, tell GStreamer to seek to that position
with `gst_element_seek_simple()` (as seen in [Basic tutorial 4: Time with `gst_element_seek_simple()` (as seen in [Basic tutorial 4: Time
management](Basic+tutorial+4+Time+management.html)). The management](sdk-basic-tutorial-time-management.md)). The
slider has been setup so its value represents seconds. slider has been setup so its value represents seconds.
It is worth mentioning that some performance (and responsiveness) can be It is worth mentioning that some performance (and responsiveness) can be
@ -836,8 +835,7 @@ static void application_cb (GstBus *bus, GstMessage *msg, CustomData *data) {
``` ```
Once me made sure it is the `tags-changed` message, we call the Once me made sure it is the `tags-changed` message, we call the
`analyze_streams` function, which is also used in [Playback tutorial 1: `analyze_streams` function, which is also used in [](sdk-playback-tutorial-playbin-usage.md) and is
Playbin usage](Playback+tutorial+1+Playbin+usage.html) and is
more detailed there. It basically recovers the tags from the stream and more detailed there. It basically recovers the tags from the stream and
writes them in a text widget in the GUI. writes them in a text widget in the GUI.
@ -858,8 +856,7 @@ If this media player is not good enough for you, try to change the text
widget that displays the information about the streams into a proper widget that displays the information about the streams into a proper
list view (or tree view). Then, when the user selects a different list view (or tree view). Then, when the user selects a different
stream, make GStreamer switch streams! To switch streams, you will need stream, make GStreamer switch streams! To switch streams, you will need
to read [Playback tutorial 1: Playbin to read [](sdk-playback-tutorial-playbin-usage.md).
usage](Playback+tutorial+1+Playbin+usage.html).
## Conclusion ## Conclusion

View file

@ -50,7 +50,7 @@ There are 3 sets of files in GStreamer binaries:
Modules](http://msdn.microsoft.com/en-us/library/windows/desktop/aa369820%28v=vs.85%29.aspx) Modules](http://msdn.microsoft.com/en-us/library/windows/desktop/aa369820%28v=vs.85%29.aspx)
files are **additional** files you can use to deploy GStreamer binaries files are **additional** files you can use to deploy GStreamer binaries
alongside your application (see [Windows alongside your application (see [Windows
deployment](Windows%2Bdeployment.html)). deployment](sdk-windows-deployment.md)).
Get **the Runtime and Development files** installers appropriate for Get **the Runtime and Development files** installers appropriate for
your architecture from here: your architecture from here:

View file

@ -246,7 +246,7 @@ It has been a pleasure having you here, and see you soon\!
[information]: images/icons/emoticons/information.png [information]: images/icons/emoticons/information.png
[Mac]: sdk-installing-on-mac-osx.md [Mac]: sdk-installing-on-mac-osx.md
[Windows]: Installing+on+Windows [Windows]: sdk-installing-on-windows.md
[Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials [Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials
[1]: sdk-installing-on-windows.md#running-the-tutorials [1]: sdk-installing-on-windows.md#running-the-tutorials
[iOS]: sdk-installing-for-ios-development.md#building-the-tutorials [iOS]: sdk-installing-for-ios-development.md#building-the-tutorials

View file

@ -299,7 +299,7 @@ It has been a pleasure having you here, and see you soon\!
[information]: images/icons/emoticons/information.png [information]: images/icons/emoticons/information.png
[Mac]: sdk-installing-on-mac-osx.md [Mac]: sdk-installing-on-mac-osx.md
[Windows]: Installing+on+Windows [Windows]: sdk-installing-on-windows.md
[Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials [Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials
[1]: sdk-installing-on-windows.md#running-the-tutorials [1]: sdk-installing-on-windows.md#running-the-tutorials
[iOS]: sdk-installing-for-ios-development.md#building-the-tutorials [iOS]: sdk-installing-for-ios-development.md#building-the-tutorials

View file

@ -213,7 +213,7 @@ It has been a pleasure having you here, and see you soon\!
[information]: images/icons/emoticons/information.png [information]: images/icons/emoticons/information.png
[Mac]: sdk-installing-on-mac-osx.md [Mac]: sdk-installing-on-mac-osx.md
[Windows]: Installing+on+Windows [Windows]: sdk-installing-on-windows.md
[Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials [Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials
[1]: sdk-installing-on-windows.md#running-the-tutorials [1]: sdk-installing-on-windows.md#running-the-tutorials
[iOS]: sdk-installing-for-ios-development.md#building-the-tutorials [iOS]: sdk-installing-for-ios-development.md#building-the-tutorials

View file

@ -586,7 +586,7 @@ It has been a pleasure having you here, and see you soon!
[Playback tutorial 2: Subtitle management]: sdk-playback-tutorial-subtitle-management.md [Playback tutorial 2: Subtitle management]: sdk-playback-tutorial-subtitle-management.md
[information]: images/icons/emoticons/information.png [information]: images/icons/emoticons/information.png
[Mac]: sdk-installing-on-mac-osx.md [Mac]: sdk-installing-on-mac-osx.md
[Windows]: Installing+on+Windows [Windows]: sdk-installing-on-windows.md
[Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials [Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials
[1]: sdk-installing-on-windows.md#running-the-tutorials [1]: sdk-installing-on-windows.md#running-the-tutorials
[iOS]: sdk-installing-for-ios-development.md#building-the-tutorials [iOS]: sdk-installing-for-ios-development.md#building-the-tutorials

View file

@ -420,7 +420,7 @@ It has been a pleasure having you here, and see you soon!
[information]: images/icons/emoticons/information.png [information]: images/icons/emoticons/information.png
[Mac]: sdk-installing-on-mac-osx.md [Mac]: sdk-installing-on-mac-osx.md
[Windows]: Installing+on+Windows [Windows]: sdk-installing-on-windows.md
[Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials [Mac OS X]: sdk-installing-on-mac-osx.md#building-the-tutorials
[1]: sdk-installing-on-windows.md#running-the-tutorials [1]: sdk-installing-on-windows.md#running-the-tutorials
[iOS]: sdk-installing-for-ios-development.md#building-the-tutorials [iOS]: sdk-installing-for-ios-development.md#building-the-tutorials