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

Francois Cartegnie git at videolan.org
Fri Jan 26 13:32:35 CET 2018


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

access: bluray: disable cc check

(cherry picked from commit b5c5c848ca3914056e936269791575e2d310f51e)

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

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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index e7ceaa106c..fd2d17e7a6 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