Zach Isbach преди 4 години
родител
ревизия
8632ce912b
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      movInfo.pl

+ 4 - 1
movInfo.pl

@@ -27,7 +27,7 @@ my $data = run_mplayer(@args);
 
 # Sanity check
 if (!defined($data->{'VIDEO_FORMAT'}) || length($data->{'VIDEO_FORMAT'}) < 1) {
-	die(basename($0) . ': Unable to find any video streams in: ' . $infile . "\n");
+	die(basename($0) . ': Unable to find video streams in: ' . $infile . "\n");
 }
 
 # Duplicate the audio data for track 0 with the appropriate index
@@ -101,5 +101,8 @@ sub run_mplayer(@) {
 		close($child_out);
 		alarm(0);
 	};
+	if ($@ ne "") {
+		print(STDERR $@);
+	}
 	return \%data;
 }