summaryrefslogtreecommitdiff
path: root/formats/__base__.py
diff options
context:
space:
mode:
authormikeos <mike.osipov@gmail.com>2013-09-30 04:04:18 +0400
committermikeos <mike.osipov@gmail.com>2013-09-30 04:04:18 +0400
commit5fb3e2f167ba4a742dc84ed58ddd68c8374a1195 (patch)
treefe3e5a524d1334c22ee47111076928acff5fc887 /formats/__base__.py
parent4f343a86a7d3294d654494578fc5e717f868de3a (diff)
formats: make tag method optional
Diffstat (limited to 'formats/__base__.py')
-rw-r--r--formats/__base__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/formats/__base__.py b/formats/__base__.py
index 4bb6598..f17748a 100644
--- a/formats/__base__.py
+++ b/formats/__base__.py
@@ -23,3 +23,6 @@ class BaseHandler:
self.add("-b %d" % opt.bits_per_sample)
if opt.channels and opt.channels != info.channels:
self.add("-c %d" % opt.channels)
+
+ def is_tag_supported(self):
+ return hasattr(self, "tag")