[FFmpeg-trac] #1026(avformat:new): libavformat::av_read_frame does not return waiting for udp packets when interrupted

FFmpeg trac at avcodec.org
Sun Apr 15 22:08:06 CEST 2012


#1026: libavformat::av_read_frame does not return waiting for udp packets when
interrupted
-------------------------------------+-------------------------------------
             Reporter:  asif         |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  0.10         |               Resolution:
             Keywords:               |               Blocked By:
  deadlock,interrupt                 |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by reimar):

 The full commit message suggests that a more reasonable solution would be
 to only allow interrupting read-only URLs:
 {{{
 commit aa612fbb99f6246913a789afde5a26f70c5a9159
 Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
 Date:   Fri Mar 4 23:43:02 2011 +0100

     In retry_transfer_wrapper, do not check url_interrupt_cb, causes
 problems
     when writing and pressing q during encoding. Instead, check
 url_interrupt_cb
     at the end.

     Note that when a protocol is interrupted by url_interrupt_cb, some
 data may
     be silently discarded: the protocol context is not suitable for
 anything
     anymore.
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1026#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list