diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-25 18:11:33 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-25 18:11:33 +0100 |
commit | 3a2246a12b54589b1bdf07d475f83c8cde281218 (patch) | |
tree | e9dd54de56fafa4a76adb0a7643bdff79af19ab7 /PLUGINS/src/pictures/pic2mpg | |
parent | 5a40d9aff2374549d8240942606d69081032e20a (diff) | |
download | vdr-3a2246a12b54589b1bdf07d475f83c8cde281218.tar.gz vdr-3a2246a12b54589b1bdf07d475f83c8cde281218.tar.bz2 |
Made the 'pic2mpg' script of the 'pictures' plugin work with uppercase filename extensions
Diffstat (limited to 'PLUGINS/src/pictures/pic2mpg')
-rwxr-xr-x | PLUGINS/src/pictures/pic2mpg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PLUGINS/src/pictures/pic2mpg b/PLUGINS/src/pictures/pic2mpg index 6cd74359..bcafcf52 100755 --- a/PLUGINS/src/pictures/pic2mpg +++ b/PLUGINS/src/pictures/pic2mpg @@ -7,7 +7,7 @@ # # See the README file for copyright information and how to reach the author. # -# $Id: pic2mpg 1.2 2008/02/02 11:34:43 kls Exp $ +# $Id: pic2mpg 1.3 2008/02/24 22:00:18 kls Exp $ ## TODO implement HDTV (1920 x 1080) @@ -143,7 +143,7 @@ for ($i = 0; $i < 10; $i++) { # dirs might become empty when removing empty subd sub ConvertFile { my ($Pict, $Mpeg) = @_; - (my $Type) = $Pict =~ /\.([^\.]*)$/; + (my $Type) = lc($Pict) =~ /\.([^\.]*)$/; if (!defined $PNMCONV{$Type}) { return if ($Ignore); die "unknown file type '$Type': '$Pict'\n"; |