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.
This commit is contained in:
David Schleef 2004-12-08 22:43:08 +00:00
parent 30bf8bbf9b
commit 10cdb486f1
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2004-12-08 David Schleef <ds@schleef.org>
* tools/gst-visualise-m.m: Switch to elements that currently
exist.
2004-12-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
@ -10,7 +15,7 @@
Don't set DEFAULT, unsupported - makes length display incorrectly
in some cases.
2004-12-07 Christian Fredrik Kalager Schaller <set EMAIL_ADDRESS environment variable>
2004-12-07 Christian Fredrik Kalager Schaller <uraeus@gnome.org>
Woooho Monoscope is now effectivly LGPL licensed

View file

@ -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) {