From: Olivier Guilyardi Date: Thu, 26 Nov 2009 15:46:02 +0000 (+0000) Subject: api: remove IEncoder.set_cache_dir() X-Git-Tag: 0.3.2~230 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=d64905913383cb0eb416b6b7aab0f24d97b43903;p=timeside.git api: remove IEncoder.set_cache_dir() --- diff --git a/encode/api.py b/encode/api.py index 4e45324..7f77f75 100644 --- a/encode/api.py +++ b/encode/api.py @@ -46,14 +46,6 @@ class IEncoder(Interface): def mime_type(): """Return the mime type corresponding to this encode format""" - def set_cache_dir(path): - """Set the directory where cached files should be stored. Does nothing - if the encoder doesn't support caching. - - The driver shouldn't assume that this method will always get called. A - temporary directory should be used if that's not the case. - """ - def process(source, metadata, options=None): """Perform the encoding process and stream the result as a generator.