]> git.sesse.net Git - vlc/commit
In video transcode, use the correct format for calculations
authorSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sat, 8 Jun 2013 21:07:48 +0000 (23:07 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 11 Jun 2013 19:03:23 +0000 (22:03 +0300)
commit1f84bc065754ca1cdd0976d818ed1454e9e2b2cd
tree190a406e06fe05e9c14af89bdd2d2f33bbd6aaea
parent48851707f9d3c4fb991d47ee26a5dc9d6aaa65eb
In video transcode, use the correct format for calculations

The current code doesn't properly take into account that filters
can change the format (including the frame rate) from that of the
decoder's output, and thus uncritically use the decoder's output
format where it should use the output of the decoder -> filter
-> user_filter chain.

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