summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-discoverer.c4
-rw-r--r--tools/gst-launch-ext.1.in2
-rw-r--r--tools/gst-visualise-m.m2
3 files changed, 5 insertions, 3 deletions
diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c
index 210c1ed75..5b2a74be4 100644
--- a/tools/gst-discoverer.c
+++ b/tools/gst-discoverer.c
@@ -307,7 +307,9 @@ print_tag_each (GQuark field_id, const GValue * value, gpointer user_data)
ser = g_value_dup_string (value);
else if (GST_VALUE_HOLDS_BUFFER (value)) {
GstBuffer *buf = gst_value_get_buffer (value);
- ser = g_strdup_printf ("<GstBuffer [%d bytes]>", GST_BUFFER_SIZE (buf));
+ ser =
+ g_strdup_printf ("<GstBuffer [%" G_GSIZE_FORMAT " bytes]>",
+ gst_buffer_get_size (buf));
} else
ser = gst_value_serialize (value);
diff --git a/tools/gst-launch-ext.1.in b/tools/gst-launch-ext.1.in
index ada73802c..90ee34cc4 100644
--- a/tools/gst-launch-ext.1.in
+++ b/tools/gst-launch-ext.1.in
@@ -27,7 +27,7 @@ Here is an example .gst file that implements the same defaults as hard-coded
in the script :
AUDIOSINK = osssink
-VIDEOSINK = ffmpegcolorspace ! xvimagesink
+VIDEOSINK = videoconvert ! xvimagesink
You can change osssink to esdsink or alsasink (if you have
the plug-in), and you can change xvimagesink to ximagesink, aasink
diff --git a/tools/gst-visualise-m.m b/tools/gst-visualise-m.m
index 293209aee..798929b18 100644
--- a/tools/gst-visualise-m.m
+++ b/tools/gst-visualise-m.m
@@ -52,7 +52,7 @@ sub visualise(@)
my $pipe;
$pipe = $vis unless $pipe = $pipes{$vis};
- $command = "gst-launch-@GST_MAJORMINOR@ $cfg{AUDIOSRC} ! $pipe ! { queue ! ffmpegcolorspace ! $cfg{VIDEOSINK} }";
+ $command = "gst-launch-@GST_MAJORMINOR@ $cfg{AUDIOSRC} ! $pipe ! { queue ! videoconvert ! $cfg{VIDEOSINK} }";
print "Running $command\n";
system ("PATH=\$PATH:".$cfg{CVS_PATH}."/gstreamer/tools $command");
}