Re: [FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame

2015-12-22 Thread Nicolas George
Le decadi 30 frimaire, an CCXXIV, Carl Eugen Hoyos a écrit : > > Can you explain? > The first frame still gets dropped with your patch > attached. > > > It worked when I submitted it, I think. > You think? Yes, I think so. And I just checked. Command-line: ./ffmpeg_g -lavfi testsrc2=r=4:d=5,fp

Re: [FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame

2015-12-20 Thread compn
On Sun, 20 Dec 2015 15:48:55 + (UTC) Carl Eugen Hoyos wrote: > Nicolas George nsup.org> writes: > > > Le decadi 30 frimaire, an CCXXIV, Carl Eugen Hoyos a écrit : > > > But your patch doesn't work... > > > > Can you explain? > > The first frame still gets dropped with your patch > attach

Re: [FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame

2015-12-20 Thread Carl Eugen Hoyos
Nicolas George nsup.org> writes: > Le decadi 30 frimaire, an CCXXIV, Carl Eugen Hoyos a écrit : > > But your patch doesn't work... > > Can you explain? The first frame still gets dropped with your patch attached. > It worked when I submitted it, I think. You think? (I still wonder why field

Re: [FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame

2015-12-20 Thread Nicolas George
Le decadi 30 frimaire, an CCXXIV, Carl Eugen Hoyos a écrit : > But your patch doesn't work... Can you explain? It worked when I submitted it, I think. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame

2015-12-20 Thread Carl Eugen Hoyos
Nicolas George nsup.org> writes: > Le decadi 30 frimaire, an CCXXIV, Carl Eugen Hoyos a écrit : > > Video filter decimate currently (always) drops the first frame > > because its diff values are all 0. Attached patch tries to fix > > ticket #4990. > > Better suggestions on how to detect "first

Re: [FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame

2015-12-20 Thread Nicolas George
Le decadi 30 frimaire, an CCXXIV, Carl Eugen Hoyos a écrit : > Video filter decimate currently (always) drops the first frame > because its diff values are all 0. Attached patch tries to fix > ticket #4990. > Better suggestions on how to detect "first frame" welcome. I already proposed a patch f

[FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame

2015-12-20 Thread Carl Eugen Hoyos
Hi! Video filter decimate currently (always) drops the first frame because its diff values are all 0. Attached patch tries to fix ticket #4990. Better suggestions on how to detect "first frame" welcome. Please comment, Carl Eugen diff --git a/libavfilter/vf_decimate.c b/libavfilter/vf_decimate.