[FFmpeg-cvslog] avfilter/vf_fps: Do not drop a random subset of frames

Michael Niedermayer michaelni at gmx.at
Thu Feb 5 12:43:44 CET 2015


On Wed, Feb 04, 2015 at 07:46:25PM +0100, Clément Bœsch wrote:
> On Wed, Feb 04, 2015 at 06:59:24PM +0100, Michael Niedermayer wrote:
> > ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Feb  4 17:46:39 2015 +0100| [7f02fcd91774818ad36cafde44aefe8924aa15b7] | committer: Michael Niedermayer
> > 
> > avfilter/vf_fps: Do not drop a random subset of frames
> > 
> > This also avoids droping the frame which is closest to the target timestamp
> > 
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > 
> > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f02fcd91774818ad36cafde44aefe8924aa15b7
> > ---
> > 
> >  libavfilter/vf_fps.c |    5 +----
> >  1 file changed, 1 insertion(+), 4 deletions(-)
> > 
> > diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
> > index a38633d..25dd831 100644
> > --- a/libavfilter/vf_fps.c
> > +++ b/libavfilter/vf_fps.c
> > @@ -214,17 +214,14 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
> >  
> >      if (delta < 1) {
> 
> >          /* drop the frame and everything buffered except the first */
> 
> This comment doesn't need any update?

fixed


[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20150205/5acd1ef2/attachment.asc>


More information about the ffmpeg-cvslog mailing list