summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-12-08 22:43:08 +0000
committerDavid Schleef <ds@schleef.org>2004-12-08 22:43:08 +0000
commit10cdb486f152c8f3e9c54a4b80fe51576cd0369a (patch)
treed2b3505866ee356b877ee2a05776a269e5774db4 /tools
parent30bf8bbf9bb2bf6e556f6e81442239f5afc34c84 (diff)
tools/gst-visualise-m.m: Switch to elements that currently exist.
Original commit message from CVS: * tools/gst-visualise-m.m: Switch to elements that currently exist.
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-visualise-m.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/gst-visualise-m.m b/tools/gst-visualise-m.m
index 25748030..36d44974 100644
--- a/tools/gst-visualise-m.m
+++ b/tools/gst-visualise-m.m
@@ -40,8 +40,8 @@ sub read_config
{
print "No configuration file $config_file found. You might want to create one.\n";
}
- if (!defined $cfg{AUDIOSRC}) { $cfg{AUDIOSRC} = "esdmon"; }
- if (!defined $cfg{VIDEOSINK}) { $cfg{VIDEOSINK} = "sdlvideosink"; }
+ if (!defined $cfg{AUDIOSRC}) { $cfg{AUDIOSRC} = "osssrc"; }
+ if (!defined $cfg{VIDEOSINK}) { $cfg{VIDEOSINK} = "xvimagesink"; }
if (!defined $cfg{CVS_PATH}) { $cfg{CVS_PATH} = `echo -n ~`."/gst/cvs"; }
}
@@ -54,7 +54,7 @@ sub visualise(@)
my $pipe;
$pipe = $vis unless $pipe = $pipes{$vis};
- $command = "gst-launch-@GST_MAJORMINOR@ $cfg{AUDIOSRC} ! $pipe ! { queue ! colorspace ! $cfg{VIDEOSINK} }";
+ $command = "gst-launch-@GST_MAJORMINOR@ $cfg{AUDIOSRC} ! $pipe ! { queue ! ffmpegcolorspace ! $cfg{VIDEOSINK} }";
print "Running $command\n";
system ("PATH=\$PATH:".$cfg{CVS_PATH}."/gstreamer/tools $command");
}
@@ -65,9 +65,9 @@ read_config ();
%pipes = (
"goom", "goom",
- "chart", "stereo2mono ! chart",
+ "chart", "audioconvert ! chart",
"synaesthesia", "synaesthesia",
- "monoscope", "stereo2mono ! monoscope"
+ "monoscope", "audioconvert ! monoscope"
);
if ($#ARGV > 0) {