[vlc-devel] [vlc-commits] Closed Captions: spawn a decoder thread

Devin Heitmueller dheitmueller at kernellabs.com
Mon Sep 9 17:25:16 CEST 2013


On Mon, Sep 9, 2013 at 11:18 AM, Rafaël Carré <funman at videolan.org> wrote:
> While performance enhancements would be nice, this patch is not related
> to performance at all.
>
> The problem was that the video decoder outputs the frame much later than
> when we get the CC packet because the video decoder latency can increase
> when using multi threaded decoder.

I believe that the same can occur on slow platforms, where the time it
takes to process and generate the captions causes it to fall behind
the decoder.  In both cases the net result is frame dropping because
the frames were arriving too late.

It's possible that you've fixed a separate issue, which would be easy
enough for me to test (just run your patch against the 1080i videos
I've been using for testing and see if the framedrop rate differs).
If you're correct, then I should be losing the same number of frames
with and without your patch.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com



More information about the vlc-devel mailing list