diff options
| author | jvoisin | 2019-02-10 21:46:13 +0100 |
|---|---|---|
| committer | jvoisin | 2019-02-10 21:46:13 +0100 |
| commit | a81b7658a894be67304a473f5f3004fa7384247c (patch) | |
| tree | da65c1a8fab98dfef40056aa9169014333c948bf | |
| parent | 6e63e03b86916c697e411b9f382f98a4834779ff (diff) | |
Make the mandatory metadata warning generic
This should close #95.
| -rw-r--r-- | libmat2/video.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat2/video.py b/libmat2/video.py index 9dc13e1..4f15b19 100644 --- a/libmat2/video.py +++ b/libmat2/video.py | |||
| @@ -14,9 +14,9 @@ class AbstractFFmpegParser(exiftool.ExiftoolParser): | |||
| 14 | 14 | ||
| 15 | def remove_all(self) -> bool: | 15 | def remove_all(self) -> bool: |
| 16 | if self.meta_key_value_whitelist: | 16 | if self.meta_key_value_whitelist: |
| 17 | logging.warning('The format of "%s" (video/mp4) has some mandatory ' | 17 | logging.warning('The format of "%s" (%s) has some mandatory ' |
| 18 | 'metadata fields; mat2 filled them with standard ' | 18 | 'metadata fields; mat2 filled them with standard ' |
| 19 | 'data.', self.filename) | 19 | 'data.', self.filename, ', '.join(self.mimetypes)) |
| 20 | cmd = [_get_ffmpeg_path(), | 20 | cmd = [_get_ffmpeg_path(), |
| 21 | '-i', self.filename, # input file | 21 | '-i', self.filename, # input file |
| 22 | '-y', # overwrite existing output file | 22 | '-y', # overwrite existing output file |
