tools/gst-visualise-m.m: Switch to elements that currently exist.
authorDavid Schleef <ds@schleef.org>
Wed, 8 Dec 2004 22:43:08 +0000 (22:43 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 8 Dec 2004 22:43:08 +0000 (22:43 +0000)
Original commit message from CVS:
* tools/gst-visualise-m.m: Switch to elements that currently
exist.

ChangeLog
tools/gst-visualise-m.m

index 4bfdd90..f38a3f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
index 2574803..36d4497 100644 (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) {