]> git.sesse.net Git - vlc/commit
transcode: replace PICTURE_RING_BUFFER with picture_fifo_t
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Tue, 27 Mar 2012 08:16:15 +0000 (10:16 +0200)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 2 May 2012 08:09:21 +0000 (10:09 +0200)
commit0cdf8d8673bea62dd68937ec8037b860cac8ea66
tree1a1fb908ff8bdb724074332109a2696f9b8612bc
parentb64a3e09ece630d1843058df48b3aa3f8c00ebbc
transcode: replace PICTURE_RING_BUFFER with picture_fifo_t

The PICTURE_RING_BUFFER used a fixed size, which when running out of available pictures
produces visible artefacts in the encoded stream. Allocating a new picture and keeping
track of them in a fifo is much simpler (in the multiple threads encoding scenario) and
solves the ring buffer overrun.
modules/stream_out/transcode/transcode.h
modules/stream_out/transcode/video.c