mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gst/: doc updates
Original commit message from CVS: * gst-libs/gst/video/video.c: (gst_video_get_size): * gst/audiotestsrc/gstaudiotestsrc.c: doc updates
This commit is contained in:
parent
534baa2b1b
commit
fc0e077a93
3 changed files with 8 additions and 18 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 3a9d355b657cf710011aa1eaadd64f6723527e14
|
Subproject commit 7d9e2e10b66efa4ce40e896212108543831aa0e9
|
|
@ -89,15 +89,3 @@ gst_video_get_size (GstPad * pad, gint * width, gint * height)
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
|
||||||
plugin_init (GstPlugin * plugin)
|
|
||||||
{
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
||||||
GST_VERSION_MINOR,
|
|
||||||
"gstvideo",
|
|
||||||
"Convenience routines for video plugins",
|
|
||||||
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* GStreamer
|
/* GStreamer
|
||||||
* Copyright (C) 2005 Stefan Kost <ensonic@users.sf.net>
|
* Copyright (C) 2005 Stefan Kost <ensonic@users.sf.net>
|
||||||
*
|
*
|
||||||
* gstaudiotestsrc.c:
|
* gstaudiotestsrc.c:
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
|
@ -23,19 +23,21 @@
|
||||||
*
|
*
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* AudioTestSrc can be used to generate basic audio signals. It support several
|
* AudioTestSrc can be used to generate basic audio signals. It support several
|
||||||
* different waveforms, variable pitch and volume.
|
* different waveforms and allows you to set the base frequency and volume.
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
* <para>
|
* <para>
|
||||||
* <programlisting>
|
* <programlisting>
|
||||||
* gst-launch audiotestsrc ! audioconvert ! alsasink
|
* gst-launch audiotestsrc ! audioconvert ! alsasink
|
||||||
* </programlisting>
|
* </programlisting>
|
||||||
* This pipeline produces a sine with default pitch and volume.
|
* This pipeline produces a sine with default frequency (mid-C) and volume.
|
||||||
* </para>
|
* </para>
|
||||||
* <para>
|
* <para>
|
||||||
* <programlisting>
|
* <programlisting>
|
||||||
* gst-launch audiotestsrc wave=2 freq=200 ! audioconvert ! tee name=t ! alsasink t. ! libvisual_lv_scope ! ffmpegcolorspace ! xvimagesink
|
* gst-launch audiotestsrc wave=2 freq=200 ! audioconvert ! tee name=t ! alsasink t. ! libvisual_lv_scope ! ffmpegcolorspace ! xvimagesink
|
||||||
* </programlisting>
|
* </programlisting>
|
||||||
* In this example a saw-wave has been choosen. The wave is shown using a scope.
|
* In this example a saw wave is generated. The wave is shown using a
|
||||||
|
* scope visualizer from libvisual, allowing you to visually verify that
|
||||||
|
* the saw wave is correct.
|
||||||
* </para>
|
* </para>
|
||||||
* </refsect2>
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
@ -680,4 +682,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||||
GST_VERSION_MINOR,
|
GST_VERSION_MINOR,
|
||||||
"audiotestsrc",
|
"audiotestsrc",
|
||||||
"Creates audio test signals of given frequency and volume",
|
"Creates audio test signals of given frequency and volume",
|
||||||
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
|
||||||
|
|
Loading…
Reference in a new issue