mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
2004-09-14 Brian Cameron <brian.cameron@sun.com
Original commit message from CVS: 2004-09-14 Brian Cameron <brian.cameron@sun.com * tools/gst-launch-ext-m.m: Changed ~ to $ENV{HOME} to allow this script to work on Solaris since bash shell handles echo differenly than bash.
This commit is contained in:
parent
87eb159d81
commit
b42aadd2eb
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-09-14 Brian Cameron <brian.cameron@sun.com
|
||||||
|
|
||||||
|
* tools/gst-launch-ext-m.m: Changed ~ to $ENV{HOME} to allow
|
||||||
|
this script to work on Solaris since bash shell handles echo
|
||||||
|
differenly than bash.
|
||||||
|
|
||||||
2004-09-17 Wim Taymans <wim@fluendo.com>
|
2004-09-17 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/playback/gstplaybasebin.c: (queue_overrun), (no_more_pads),
|
* gst/playback/gstplaybasebin.c: (queue_overrun), (no_more_pads),
|
||||||
|
|
|
@ -28,7 +28,7 @@ sub read_config
|
||||||
{
|
{
|
||||||
my $command = shift;
|
my $command = shift;
|
||||||
|
|
||||||
my $config_file = `echo -n ~`."/.gst";
|
my $config_file = $ENV{HOME}."/.gst";
|
||||||
if (-e $config_file)
|
if (-e $config_file)
|
||||||
{
|
{
|
||||||
open CONFIG, $config_file;
|
open CONFIG, $config_file;
|
||||||
|
@ -57,7 +57,7 @@ sub read_config
|
||||||
}
|
}
|
||||||
if (!defined $cfg{AUDIOSINK}) { $cfg{AUDIOSINK} = "osssink"; }
|
if (!defined $cfg{AUDIOSINK}) { $cfg{AUDIOSINK} = "osssink"; }
|
||||||
if (!defined $cfg{VIDEOSINK}) { $cfg{VIDEOSINK} = "ffmpegcolorspace ! xvimagesink"; }
|
if (!defined $cfg{VIDEOSINK}) { $cfg{VIDEOSINK} = "ffmpegcolorspace ! xvimagesink"; }
|
||||||
if (!defined $cfg{CVS_PATH}) { $cfg{CVS_PATH} = `echo -n ~`."/gst/cvs"; }
|
if (!defined $cfg{CVS_PATH}) { $cfg{CVS_PATH} = $ENV{HOME}."/gst/cvs"; }
|
||||||
|
|
||||||
if ($command =~ /(.+)\/gst-launch-ext-@GST_MAJORMINOR@$/)
|
if ($command =~ /(.+)\/gst-launch-ext-@GST_MAJORMINOR@$/)
|
||||||
{ $cfg{COMMAND_PATH} = "$1"; }
|
{ $cfg{COMMAND_PATH} = "$1"; }
|
||||||
|
|
Loading…
Reference in a new issue