Skip to content

Commit

Permalink
Add webm to list of non picture extensions
Browse files Browse the repository at this point in the history
Pitivi 0.15.2's html5 preset makes .webm, and it works with our existing
make_web_videos script.
  • Loading branch information
karlp committed Oct 2, 2013
1 parent 9c250b6 commit c893f53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PageGen.pm
Expand Up @@ -19,7 +19,7 @@ use Image::ExifTool::FujiFilm;
use Image::ExifTool::Olympus;


my $non_pic_pattern = '(avi|gif|mov|mp4|flv|ogv|mkv)$'; # move up to config when this works....
my $non_pic_pattern = '(avi|gif|mov|mp4|flv|ogv|mkv|webm)$'; # move up to config when this works....
my $verbose = 1;


Expand Down
2 changes: 1 addition & 1 deletion gt2meta
Expand Up @@ -41,7 +41,7 @@ foreach my $file (@flist) {
$doCaption = 0 if $comment =~ /^xx/; # I use xxxxx and xxx to quickly tag images that need further review.
$doCaption = 0 if ! $comment;

my $isMovie = $file =~ /avi|gif|mov|mp4|flv|ogv|mkv/i;
my $isMovie = $file =~ /avi|gif|mov|mp4|flv|ogv|mkv|webm/i;

if ($doCaption && $isMovie) {
print "proceeding w/ movie...";
Expand Down
2 changes: 1 addition & 1 deletion make_album.pl
Expand Up @@ -54,7 +54,7 @@
my $thumb_dimension = "250";
#my $web_full_to_tn_scale = "250x250>";
my $web_full_to_tn_scale = "${thumb_dimension}x${thumb_dimension}>";
my $non_pic_pattern = "avi|gif|mov|mp4|flv|ogv|mkv"; # move up to config when this works....
my $non_pic_pattern = "avi|gif|mov|mp4|flv|ogv|mkv|webm"; # move up to config when this works....
my @imagesuffixes = qw/.jpg .png .tif/;
my $videoOverlay = "$lib_dir/overlayPlayIcon.png";
#my $videoOverlay = "/home/karl/bin/make_album.dir/video250.png";
Expand Down

0 comments on commit c893f53

Please sign in to comment.