]> git.sesse.net Git - vlc/commit
In transcoding, move frame output into its own function
authorSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sat, 8 Jun 2013 20:56:07 +0000 (22:56 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 11 Jun 2013 19:02:44 +0000 (22:02 +0300)
commit73c9a34abf9289dea72f2bfa48a0e3685c1f8e70
tree2e7abc139368e1dcd8034f7462c55a4fe1755e10
parentb46940a4e186d612aa8e754c8fe48b6535d6fe3a
In transcoding, move frame output into its own function

This function was already getting very long and complex,
and we'll soon be moving it into two more for loops.

This also fixes a bug where output packets from the
encoder thread (with --sout-transcode-threads larger than zero)
could get lost, since we could extract the output blocks twice
and thus overwrite the output parameter.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/stream_out/transcode/video.c