git.videolan.org Git - ffmpeg.git/rss log

FFmpeg git repo

http://git.videolan.org/?p=ffmpeg.git;a=summary

Les articles publiés sur le site

  • avformat/fifo : Check for keyframe video type before stop dropping

    10 avril, par Arthur Grillo
    avformat/fifo: Check for keyframe video type before stop dropping
    
    The current behavior when using restart_with_keyframe is that it will
    recover if it also encounters any audio packet, as they are flagged as a
    keyframe.
    
    The expectation is that packets are dropped until the next _video_
    keyframe.
    
    To fix that, check if exists a video stream, if it exists check the
    packet stream codec type, only letting it recover when it is a video
    one. If there is no video stream, resume to the original behavior, not
    checking the codec type.
    
    Fixes ticket: #11467
    
    Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavformat/fifo.c
  • avcodec/asvenc : Use tighter MAX_MB_SIZE constant

    10 avril, par Andreas Rheinhardt
    avcodec/asvenc: Use tighter MAX_MB_SIZE constant
    
    Also document the constant.
    
    Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/asvenc.c
  • avcodec/asvenc : Don't use FF_INPUT_BUFFER_MIN_SIZE

    10 avril, par Andreas Rheinhardt
    avcodec/asvenc: Don't use FF_INPUT_BUFFER_MIN_SIZE
    
    ASV-1/2 does not really have a header and so using
    FF_INPUT_BUFFER_MIN_SIZE is wasteful as well as ugly
    (such bounds should be codec-specific).
    
    Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/asvenc.c
  • avcodec/mpegaudioenc : Rename MPA_encode_* -> mpa_encode_*

    10 avril, par Andreas Rheinhardt
    avcodec/mpegaudioenc: Rename MPA_encode_* -> mpa_encode_*
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/mpegaudioenc.c
  • avcodec/mpegaudioenc : Move PutBitContext to stack

    10 avril, par Andreas Rheinhardt
    avcodec/mpegaudioenc: Move PutBitContext to stack
    
    Avoids keeping dangling pointers in the context.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/mpegaudioenc.c