docs: some 0.10 -> 1.0 changes

This commit is contained in:
Wim Taymans 2012-10-02 13:22:35 +02:00
parent 6ad9398cbc
commit 5d64c5ce5a
7 changed files with 10 additions and 10 deletions

View file

@ -14,7 +14,7 @@ all video effect filters.
The topic of defining the klass of elements should be based on use cases. The topic of defining the klass of elements should be based on use cases.
A list of classes that are used in a installation can be generated using: A list of classes that are used in a installation can be generated using:
gst-inspect-0.10 -a | grep -ho Class:.* | cut -c8- | sed "s/\//\\n/g" | sort | uniq gst-inspect-1.0 -a | grep -ho Class:.* | cut -c8- | sed "s/\//\\n/g" | sort | uniq
Proposal Proposal
~~~~~~~~ ~~~~~~~~

View file

@ -140,7 +140,7 @@ main (gint argc,
} }
<!-- example-end probe.c --></programlisting> <!-- example-end probe.c --></programlisting>
<para> <para>
Compare that output with the output of <quote>gst-launch-0.10 Compare that output with the output of <quote>gst-launch-1.0
videotestsrc ! xvimagesink</quote>, just so you know what you're videotestsrc ! xvimagesink</quote>, just so you know what you're
looking for. looking for.
</para> </para>

View file

@ -47,7 +47,7 @@
</para> </para>
<programlisting> <programlisting>
/* compile with: /* compile with:
* gcc -o tags tags.c `pkg-config --cflags --libs gstreamer-0.10` */ * gcc -o tags tags.c `pkg-config --cflags --libs gstreamer-1.0` */
#include &lt;gst/gst.h&gt; #include &lt;gst/gst.h&gt;
static void static void

View file

@ -235,7 +235,7 @@ main (gint argc, gchar **argv)
<warning> <warning>
<para> <para>
Note: this section is out of date. GStreamer-0.10 has much better Note: this section is out of date. GStreamer-1.0 has much better
support for win32 than previous versions though and should usually compile support for win32 than previous versions though and should usually compile
and work out-of-the-box both using MSYS/MinGW or Microsoft compilers. The and work out-of-the-box both using MSYS/MinGW or Microsoft compilers. The
<ulink url="http://gstreamer.freedesktop.org">GStreamer web site</ulink> and the <ulink url="http://gstreamer.freedesktop.org">GStreamer web site</ulink> and the
@ -272,7 +272,7 @@ available in your system PATH.</para>
<listitem><para>libiconv</para></listitem> <listitem><para>libiconv</para></listitem>
</itemizedlist> </itemizedlist>
<para>Work is being done to provide pre-compiled GStreamer-0.10 libraries as <para>Work is being done to provide pre-compiled GStreamer-1.0 libraries as
a packages for win32. Check the <ulink url="http://gstreamer.freedesktop.org"> a packages for win32. Check the <ulink url="http://gstreamer.freedesktop.org">
GStreamer web site</ulink> and check our GStreamer web site</ulink> and check our
<ulink url="http://news.gmane.org/gmane.comp.video.gstreamer.devel">mailing list <ulink url="http://news.gmane.org/gmane.comp.video.gstreamer.devel">mailing list
@ -300,7 +300,7 @@ for convenience (people who don't want to install GNU tools).</para>
<sect2 id="section-win32-install"> <sect2 id="section-win32-install">
<title>Installation on the system</title> <title>Installation on the system</title>
<para>FIXME: This section needs be updated for GStreamer-0.10.</para> <para>FIXME: This section needs be updated for GStreamer-1.0.</para>
<!-- <!--
<para>By default, GStreamer needs a registry. You have to generate it using "gst-register.exe". It will create <para>By default, GStreamer needs a registry. You have to generate it using "gst-register.exe". It will create

View file

@ -174,7 +174,7 @@ preset_get_paths (GstPreset * preset, const gchar ** preset_user_path,
if (!(preset_path = g_type_get_qdata (type, preset_system_path_quark))) { if (!(preset_path = g_type_get_qdata (type, preset_system_path_quark))) {
gchar *preset_dir; gchar *preset_dir;
/* system presets in '$GST_DATADIR/gstreamer-0.10/presets/GstAudioPanorama.prs' */ /* system presets in '$GST_DATADIR/gstreamer-1.0/presets/GstAudioPanorama.prs' */
preset_dir = g_build_filename (GST_DATADIR, "gstreamer-" GST_API_VERSION, preset_dir = g_build_filename (GST_DATADIR, "gstreamer-" GST_API_VERSION,
"presets", NULL); "presets", NULL);
GST_INFO_OBJECT (preset, "system_preset_dir: '%s'", preset_dir); GST_INFO_OBJECT (preset, "system_preset_dir: '%s'", preset_dir);

View file

@ -8,11 +8,11 @@ A: - Make sure the source file includes either gst-i18n-lib.h (if it's a part
Q: How do I add/mark strings to be translated ? Q: How do I add/mark strings to be translated ?
A: - Use N_(...) to mark for translation. A: - Use N_(...) to mark for translation.
- Use _(...) to get a translated string - Use _(...) to get a translated string
- run "make gstreamer-0.10.pot-update" to update the .pot file - run "make gstreamer-1.0.pot-update" to update the .pot file
and check if your new strings got added and check if your new strings got added
Q: How do I add a language ? Q: How do I add a language ?
A: - copy gstreamer-0.10.pot to your new language.po A: - copy gstreamer-1.0.pot to your new language.po
- add the language code to LINGUAS - add the language code to LINGUAS
- edit the header of this language.po file and make it match one of - edit the header of this language.po file and make it match one of
the existing .po files the existing .po files

View file

@ -2,7 +2,7 @@
# #
# based on plot-timeline.py by Federico Mena-Quintero <federico at ximian dotcom> # based on plot-timeline.py by Federico Mena-Quintero <federico at ximian dotcom>
# example: # example:
# GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:3" gst-launch-0.10 2>debug.log audiotestsrc num-buffers=10 ! audioconvert ! alsasink # GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:3" gst-launch-1.0 2>debug.log audiotestsrc num-buffers=10 ! audioconvert ! alsasink
# gst-plot-timeline.py debug.log --output=debug.png # gst-plot-timeline.py debug.log --output=debug.png
import math import math