From 5d64c5ce5ab1c7ff9519e89ac86e56e8ae89cc83 Mon Sep 17 00:00:00 2001 From: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue, 2 Oct 2012 13:22:35 +0200 Subject: [PATCH] docs: some 0.10 -> 1.0 changes --- docs/design/draft-klass.txt | 2 +- docs/manual/advanced-dataaccess.xml | 2 +- docs/manual/advanced-metadata.xml | 2 +- docs/manual/appendix-integration.xml | 6 +++--- gst/gstpreset.c | 2 +- po/README | 4 ++-- tools/gst-plot-timeline.py | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/design/draft-klass.txt b/docs/design/draft-klass.txt index 2fae20b751..9443a40547 100644 --- a/docs/design/draft-klass.txt +++ b/docs/design/draft-klass.txt @@ -14,7 +14,7 @@ all video effect filters. 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: -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 ~~~~~~~~ diff --git a/docs/manual/advanced-dataaccess.xml b/docs/manual/advanced-dataaccess.xml index a0cbf89c09..f066d11af6 100644 --- a/docs/manual/advanced-dataaccess.xml +++ b/docs/manual/advanced-dataaccess.xml @@ -140,7 +140,7 @@ main (gint argc, } <!-- example-end probe.c --></programlisting> <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 looking for. </para> diff --git a/docs/manual/advanced-metadata.xml b/docs/manual/advanced-metadata.xml index 6a25e19f74..ec34a2eff6 100644 --- a/docs/manual/advanced-metadata.xml +++ b/docs/manual/advanced-metadata.xml @@ -47,7 +47,7 @@ </para> <programlisting> /* 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 <gst/gst.h> static void diff --git a/docs/manual/appendix-integration.xml b/docs/manual/appendix-integration.xml index 007f614775..b16c427a7b 100644 --- a/docs/manual/appendix-integration.xml +++ b/docs/manual/appendix-integration.xml @@ -235,7 +235,7 @@ main (gint argc, gchar **argv) <warning> <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 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 @@ -272,7 +272,7 @@ available in your system PATH.</para> <listitem><para>libiconv</para></listitem> </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"> GStreamer web site</ulink> and check our <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"> <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 diff --git a/gst/gstpreset.c b/gst/gstpreset.c index 404f34a32e..4a97276e39 100644 --- a/gst/gstpreset.c +++ b/gst/gstpreset.c @@ -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))) { 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, "presets", NULL); GST_INFO_OBJECT (preset, "system_preset_dir: '%s'", preset_dir); diff --git a/po/README b/po/README index 565233f642..6572b9a1ce 100644 --- a/po/README +++ b/po/README @@ -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 ? A: - Use N_(...) to mark for translation. - 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 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 - edit the header of this language.po file and make it match one of the existing .po files diff --git a/tools/gst-plot-timeline.py b/tools/gst-plot-timeline.py index daec0beb3c..c2a30b5481 100755 --- a/tools/gst-plot-timeline.py +++ b/tools/gst-plot-timeline.py @@ -2,7 +2,7 @@ # # based on plot-timeline.py by Federico Mena-Quintero <federico at ximian dotcom> # 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 import math