[vlc-commits] access: bluray: disable cc check

Francois Cartegnie git at videolan.org
Thu Jan 25 21:40:57 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan 25 21:40:15 2018 +0100| [b5c5c848ca3914056e936269791575e2d310f51e] | committer: Francois Cartegnie

access: bluray: disable cc check

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5c5c848ca3914056e936269791575e2d310f51e
---

 modules/access/bluray.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 07bf64a676..d3780055d9 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -676,6 +676,11 @@ static int blurayOpen(vlc_object_t *object)
     vlc_mutex_init(&p_sys->bdj_overlay_lock);
     vlc_mutex_init(&p_sys->read_block_lock); /* used during bd_open_stream() */
 
+    /* request sub demuxers to skip continuity check as some split
+       file concatenation are just resetting counters... */
+    var_Create( p_demux, "ts-cc-check", VLC_VAR_BOOL );
+    var_SetBool( p_demux, "ts-cc-check", false );
+
     var_AddCallback( p_demux->p_input, "intf-event", onIntfEvent, p_demux );
 
     /* Open BluRay */



More information about the vlc-commits mailing list