Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
F
ffmpeg
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • submodule
  • ffmpeg
  • Repository

Switch branch/tag
  • ffmpeg
  • libavformat
  • pcm.c
Find file
BlameHistoryPermalink
  • Philipp M. Scholl's avatar
    avformat/pcm: decrease delay when reading PCM streams. · 040b28ae
    Philipp M. Scholl authored Mar 10, 2018
      Thanks for the discussion. Here's the next version, now with /25 and removed
    ff_log2().
    
      The blocksize of the PCM decoder is hard-coded. This creates
    unnecessary delay when reading low-rate (<100Hz) streams. This creates
    issues when multiplexing multiple streams, since other inputs are only
    opened/read after a low-rate input block was completely read.
    
     This patch decreases the blocksize for low-rate inputs, so
    approximately a block is read every 40ms. This decreases the startup
    delay when multiplexing inputs with different rates.
    Signed-off-by: 's avatarPhilipp M. Scholl <pscholl@bawue.de>
    Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    040b28ae
pcm.c 2.6 KB
EditWeb IDE

Replace pcm.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.