vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Jan 11 16:11:08 2017 +0100| [274aac476be32edaf2c2ae2872cb617e57a7fd40] | committer: Francois Cartegnie
codec: cc: fix extraneous subpictures on popup mode Should generate subpic only when drawing on shown screen. !=popup > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=274aac476be32edaf2c2ae2872cb617e57a7fd40 --- modules/codec/cc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/codec/cc.c b/modules/codec/cc.c index 3e8ef7b..c58c9f9 100644 --- a/modules/codec/cc.c +++ b/modules/codec/cc.c @@ -881,6 +881,11 @@ static eia608_status_t Eia608ParseData( eia608_t *h, uint8_t d1, uint8_t d2 ) if( d2 >= 0x20 ) i_status |= Eia608ParseSingle( h, d2 ); } + + /* Ignore changes occuring to doublebuffer */ + if( h->mode == EIA608_MODE_POPUP && i_status == EIA608_STATUS_CHANGED ) + i_status = EIA608_STATUS_DEFAULT; + return i_status; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
