Closed ghost closed 10 years ago
I'm inclined to solve this in the crudest way possible: By ripping out pad_check() altogether, and all the old-style pad code along with it. I was half-inclined to do that already, before I read this. But if someone has a case to make that the old-style code is still needed, please make it here.
OK, I've committed that fix... leaving this open in case anyone wants to comment.
I built the latest ffmpeg last night. Looks like the output of the --filters switch changed so that the line no longer starts with ^pad
Relevant lines:
OLD: (ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1,) $ ffmpeg -filters | grep pad
pad Pad input image to width:height...
NEW: (ffmpeg version git-2013-09-14-8728360 .... built on Sep 14 2013 01:49:09)
$ ffmpeg -filters (there is a header explaining the abbreviations) Filters: T. = Timeline support .S = Slice threading A = Audio input/output V = Video input/output N = Dynamic number and/or type of input/output | = Source or sink filter
(and then the pad line looks like this): .. pad V->V Pad input image to width:height...
So the pad line no longer matches "if line.startswith('pad'):". It should.