]> git.sesse.net Git - vlc/commit
codec/zvbi: Only reset subpicture in text mode
authorJulian Scheel <julian@jusst.de>
Fri, 10 Oct 2014 09:21:07 +0000 (11:21 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Oct 2014 10:17:29 +0000 (12:17 +0200)
commit47012982d20cf537fc710edd14c9c9c4183d0a19
tree086392f809ca824658459b626a9bb215d1de48d7
parentf7034507a3ed7255e9a5b98a3f2c923b3e05c6a4
codec/zvbi: Only reset subpicture in text mode

The subpicture reset, as stated in the comment, is only required when
rendering text-subtitles. In fact it causes an invalid image to be generated
and possibly output in non-text mode. Hence disable the picture recreation for
non-text mode.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/zvbi.c