mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11: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;
|
||||
}
|
||||
|
||||
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)
|
||||
|
|
|
@ -23,19 +23,21 @@
|
|||
*
|
||||
* <refsect2>
|
||||
* 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>
|
||||
* <para>
|
||||
* <programlisting>
|
||||
* gst-launch audiotestsrc ! audioconvert ! alsasink
|
||||
* </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>
|
||||
* <programlisting>
|
||||
* gst-launch audiotestsrc wave=2 freq=200 ! audioconvert ! tee name=t ! alsasink t. ! libvisual_lv_scope ! ffmpegcolorspace ! xvimagesink
|
||||
* </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>
|
||||
* </refsect2>
|
||||
*/
|
||||
|
@ -680,4 +682,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|||
GST_VERSION_MINOR,
|
||||
"audiotestsrc",
|
||||
"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