vlc | branch: master | Julian Scheel <[email protected]> | Fri Oct 10 10:40:08 2014 +0200| [c99b7dc8ef3f333f2f6f8025c55bd1b6882f1576] | committer: Jean-Baptiste Kempf
mmal/codec: Increase verbosity for interlaced detection Makes debugging of badly deinterlaced content a bit easier. Signed-off-by: Julian Scheel <[email protected]> Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c99b7dc8ef3f333f2f6f8025c55bd1b6882f1576 --- modules/hw/mmal/codec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/hw/mmal/codec.c b/modules/hw/mmal/codec.c index e778a70..1a08fd3 100644 --- a/modules/hw/mmal/codec.c +++ b/modules/hw/mmal/codec.c @@ -375,7 +375,10 @@ static int change_output_format(decoder_t *dec) sys->b_progressive = (interlace_type.eMode == MMAL_InterlaceProgressive); sys->b_top_field_first = sys->b_progressive ? true : (interlace_type.eMode == MMAL_InterlaceFieldsInterleavedUpperFirst); - msg_Dbg(dec, "Detected %s video", sys->b_progressive ? "progressive" : "interlaced"); + msg_Dbg(dec, "Detected %s%s video (%d)", + sys->b_progressive ? "progressive" : "interlaced", + sys->b_progressive ? "" : (sys->b_top_field_first ? " tff" : " bff"), + interlace_type.eMode); } out: _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
