[FFmpeg-trac] #5785(swresample:new): swr_drop_output misbehaviour

FFmpeg trac at avcodec.org
Fri Aug 19 17:59:23 EEST 2016


#5785: swr_drop_output misbehaviour
------------------------------------+--------------------------------------
             Reporter:  richardpl   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  swresample
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------

Comment (by michael):

 swr_drop_output() drops exactly the number requested, thats how its
 documented as well. "Drops the specified number of output samples."
 The return code is documented as ">= 0 on success, or a negative AVERROR
 code on failure" it has no relation to how many samples will be dropped, i
 would expect the number of actually dropped samples to be exactly what was
 requested.

 Can you explain what you are trying to do ? / what usecase this is about ?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5785#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list