From 10cdb486f152c8f3e9c54a4b80fe51576cd0369a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 8 Dec 2004 22:43:08 +0000 Subject: 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. --- tools/gst-visualise-m.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools') 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) { -- cgit