[FFmpeg-cvslog] In retry_transfer_wrapper, do not check url_interrupt_cb,

Martin Storsjö martin
Mon Mar 7 13:51:18 CET 2011


On Fri, 4 Mar 2011, Nicolas George wrote:

> Le quartidi 14 vent?se, an CCXIX, Martin Storsj? a ?crit?:
> > Perhaps a fix which would match the old behaviour more closely wold be to 
> > move the url_interrupt_cb() check down, either into the if (EAGAIN) 
> > branch, or at least to after transfer_func has been called. That way, 
> > url_interrupt_cb() triggering won't make writes to local files fail, which 
> > wouldn't have blocked anyway.
> 
> I believe the attached patch fixes things.

I do believe this is a good compromise for now, making what used to work 
before work again, both for stopping transcodes with 'q'/ctrl+c, and for 
being able to abort blocking network transfers for lavf users.

// Martin



More information about the ffmpeg-cvslog mailing list