summaryrefslogtreecommitdiff
path: root/debian/patches/Replace-deinterlace-option-with-proper-yadif-video-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/Replace-deinterlace-option-with-proper-yadif-video-f.patch')
-rw-r--r--debian/patches/Replace-deinterlace-option-with-proper-yadif-video-f.patch69
1 files changed, 0 insertions, 69 deletions
diff --git a/debian/patches/Replace-deinterlace-option-with-proper-yadif-video-f.patch b/debian/patches/Replace-deinterlace-option-with-proper-yadif-video-f.patch
deleted file mode 100644
index c2e2e7b..0000000
--- a/debian/patches/Replace-deinterlace-option-with-proper-yadif-video-f.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From: Paul Gevers <elbrus@debian.org>
-Date: Sun, 2 Feb 2014 19:22:24 +0100
-Subject: Replace deinterlace option with proper yadif video filter
-
-Bug: http://code.google.com/p/winff/issues/detail?id=178
-Source: http://code.google.com/p/winff/source/detail?r=814
----
- unit1.pas | 18 ++++++++++--------
- 1 file changed, 10 insertions(+), 8 deletions(-)
-
-diff --git a/unit1.pas b/unit1.pas
-index a516cbc..b0b8752 100755
---- a/unit1.pas
-+++ b/unit1.pas
-@@ -2722,7 +2722,7 @@ cb,ct,cl,cr:integer;
- pn, params, cropline, precommand, command, passlogfile:string;
- ignorepreview:boolean;
- outputfilename, ffmpegfilename, extension, basename,filename,commandline : string;
--deinterlace, numthreads, nullfile, usethreads : string;
-+numthreads, nullfile, usethreads : string;
- begin
-
- {$IFDEF WINDOWS}ffmpegfilename:='"' + ffmpeg + '"';{$endif}
-@@ -2805,10 +2805,6 @@ begin
- end
- else usethreads:='';
-
-- if cbxDeinterlace.Checked then deinterlace := ' -deinterlace '
-- else deinterlace:='';
--
--
-
- // replace preset params if mnuOptions specified
- commandline := params;
-@@ -2824,6 +2820,12 @@ begin
- commandline:=replaceparam(commandline,'-r:v','-r:v ' + vidframerate.Text); // New style
- end;
-
-+ if cbxDeinterlace.Checked then
-+ CommandLine := replaceVfParam(CommandLine, 'yadif', 'yadif')
-+ else
-+ CommandLine := replaceVfParam(CommandLine, 'yadif', '') ;
-+
-+
- // Inserting Crop Routine here as per Issue 77 on code.google.com
- // Changed by Ian V1.3
-
-@@ -2973,7 +2975,7 @@ begin
-
- if cbx2Pass.Checked = false then
- begin
-- command := ffmpegfilename + usethreads + precommand + ' -y -i "' + filename + '" ' + deinterlace + commandline + ' "' +
-+ command := ffmpegfilename + usethreads + precommand + ' -y -i "' + filename + '" ' + commandline + ' "' +
- outputfilename + '"';
-
- scr[vIndex].FirstPass := command;
-@@ -2981,10 +2983,10 @@ begin
- end
- else if cbx2Pass.Checked = true then
- begin
-- command := ffmpegfilename + usethreads + precommand + ' -i "' + filename + '" ' + deinterlace + commandline + ' -an'
-+ command := ffmpegfilename + usethreads + precommand + ' -i "' + filename + '" ' + commandline + ' -an'
- + ' -passlogfile "' + passlogfile + '"' + ' -pass 1 ' + ' -y ' + nullfile ;
- scr[vIndex].FirstPass := command;
-- command := ffmpegfilename + usethreads + precommand + ' -y -i "' + filename + '" ' + deinterlace + commandline + ' -passlogfile "'
-+ command := ffmpegfilename + usethreads + precommand + ' -y -i "' + filename + '" ' + commandline + ' -passlogfile "'
- + passlogfile + '"' + ' -pass 2 ' + ' "' + outputfilename + '"';
- scr[vIndex].SecondPass := command;
- end;