From 3ee89d6e3c3ea1fd64d9d0c0ec0278d6597b9852 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 21 Mar 2019 11:36:44 -0400 Subject: [PATCH] Remove some left over 0.10 references --- gst-libs/gst/pbutils/install-plugins.c | 11 +++++------ gst-libs/gst/pbutils/pbutils.c | 4 ++-- gst-libs/gst/rtp/README | 6 +++--- tests/examples/dynamic/sprinkle2.c | 2 +- tests/examples/dynamic/sprinkle3.c | 2 +- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/gst-libs/gst/pbutils/install-plugins.c b/gst-libs/gst/pbutils/install-plugins.c index 785aac5eb8..f543011a94 100644 --- a/gst-libs/gst/pbutils/install-plugins.c +++ b/gst-libs/gst/pbutils/install-plugins.c @@ -157,11 +157,10 @@ * libraries to use the same mechanism for their automatic plugin * installation needs, or for the format to be changed should it turn * out to be insufficient. - * - plugin system version, e.g. "0.10" - * This is required so that when there is a GStreamer-0.12 or - * GStreamer-1.0 at some point in future, the different major versions - * can still co-exist and use the same plugin install mechanism in the - * same way. + * - plugin system version, e.g. "1.0" + * This is required so that when there is GStreamer-2.0 at some point + * in future, the different major versions can still co-exist and use + * the same plugin install mechanism in the same way. * - application identifier, e.g. "totem" * This may also be in the form of "pid/12345" if the program name * can't be obtained for some reason. @@ -184,7 +183,7 @@ * - optional further fields not yet specified * * An entire ID string might then look like this, for example: ` - * gstreamer|0.10|totem|Vorbis audio decoder|decoder-audio/x-vorbis` + * gstreamer|1.0|totem|Vorbis audio decoder|decoder-audio/x-vorbis` * * Plugin installers parsing this ID string should expect further fields * also separated by '|' symbols and either ignore them, warn the user, or diff --git a/gst-libs/gst/pbutils/pbutils.c b/gst-libs/gst/pbutils/pbutils.c index 1a081ee317..8115de3560 100644 --- a/gst-libs/gst/pbutils/pbutils.c +++ b/gst-libs/gst/pbutils/pbutils.c @@ -42,8 +42,8 @@ * ## Linking to this library * * You should obtain the required CFLAGS and LIBS using pkg-config on the - * gstreamer-plugins-base-0.10 module. You will then also need to add - * '-lgstpbutils-0.10' manually to your LIBS line. + * gstreamer-plugins-base-1.0 module. You will then also need to add + * '-lgstreamer-pbutils-1.0' manually to your LIBS line. * * ## Library initialisation * diff --git a/gst-libs/gst/rtp/README b/gst-libs/gst/rtp/README index d49031e88b..dcd1687409 100644 --- a/gst-libs/gst/rtp/README +++ b/gst-libs/gst/rtp/README @@ -42,19 +42,19 @@ The RTP libraries For 20ms mode : - GST_DEBUG="basertpaudiopayload:5" gst-launch-0.10 fakesrc sizetype=2 + GST_DEBUG="basertpaudiopayload:5" gst-launch-1.0 fakesrc sizetype=2 sizemax=114 datarate=1900 ! audio/x-iLBC, mode=20 ! rtpilbcpay max-ptime="40000000" ! fakesink For 30ms mode : - GST_DEBUG="basertpaudiopayload:5" gst-launch-0.10 fakesrc sizetype=2 + GST_DEBUG="basertpaudiopayload:5" gst-launch-1.0 fakesrc sizetype=2 sizemax=150 datarate=1662 ! audio/x-iLBC, mode=30 ! rtpilbcpay max-ptime="60000000" ! fakesink Here is an example using the uLaw payloader (sample based). - GST_DEBUG="basertpaudiopayload:5" gst-launch-0.10 fakesrc sizetype=2 + GST_DEBUG="basertpaudiopayload:5" gst-launch-1.0 fakesrc sizetype=2 sizemax=150 datarate=8000 ! audio/x-mulaw ! rtppcmupay max-ptime="6000000" ! fakesink diff --git a/tests/examples/dynamic/sprinkle2.c b/tests/examples/dynamic/sprinkle2.c index fa06054436..e37004a95b 100644 --- a/tests/examples/dynamic/sprinkle2.c +++ b/tests/examples/dynamic/sprinkle2.c @@ -24,7 +24,7 @@ * Produces a sweeping sprinkle of tones by dynamically adding and removing * elements to adder. * - * gcc `pkg-config --cflags --libs gstreamer-0.10` sprinkle2.c -osprinkle2 + * gcc `pkg-config --cflags --libs gstreamer-1.0` sprinkle2.c -osprinkle2 */ #ifdef HAVE_CONFIG_H diff --git a/tests/examples/dynamic/sprinkle3.c b/tests/examples/dynamic/sprinkle3.c index cfdea8bb4e..91982e2806 100644 --- a/tests/examples/dynamic/sprinkle3.c +++ b/tests/examples/dynamic/sprinkle3.c @@ -24,7 +24,7 @@ * Produces a sweeping sprinkle of tones by dynamically adding and removing * elements to adder. * - * gcc `pkg-config --cflags --libs gstreamer-0.10` sprinkle3.c -osprinkle3 + * gcc `pkg-config --cflags --libs gstreamer-1.0` sprinkle3.c -osprinkle3 */ #ifdef HAVE_CONFIG_H