Merge pull request #1 from RasmusMathiesen/FixupPP-patch
Protect "fixup" postprocessors from user config
This commit is contained in:
commit
bde1bd97b2
@ -549,6 +549,9 @@ class FFmpegFixupStretchedPP(FFmpegPostProcessor):
|
|||||||
|
|
||||||
return [], info
|
return [], info
|
||||||
|
|
||||||
|
def _configuration_args(self, default=[]):
|
||||||
|
return [] # Make sure the users extra arguments don't mess up the fix
|
||||||
|
|
||||||
|
|
||||||
class FFmpegFixupM4aPP(FFmpegPostProcessor):
|
class FFmpegFixupM4aPP(FFmpegPostProcessor):
|
||||||
def run(self, info):
|
def run(self, info):
|
||||||
@ -567,6 +570,8 @@ class FFmpegFixupM4aPP(FFmpegPostProcessor):
|
|||||||
|
|
||||||
return [], info
|
return [], info
|
||||||
|
|
||||||
|
def _configuration_args(self, default=[]):
|
||||||
|
return [] # Make sure the users extra arguments don't mess up the fix
|
||||||
|
|
||||||
class FFmpegFixupM3u8PP(FFmpegPostProcessor):
|
class FFmpegFixupM3u8PP(FFmpegPostProcessor):
|
||||||
def run(self, info):
|
def run(self, info):
|
||||||
@ -581,6 +586,9 @@ class FFmpegFixupM3u8PP(FFmpegPostProcessor):
|
|||||||
os.remove(encodeFilename(filename))
|
os.remove(encodeFilename(filename))
|
||||||
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
|
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
|
||||||
return [], info
|
return [], info
|
||||||
|
|
||||||
|
def _configuration_args(self, default=[]):
|
||||||
|
return [] # Make sure the users extra arguments don't mess up the fix
|
||||||
|
|
||||||
|
|
||||||
class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
|
class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user