[vlc-commits] dvdnav: prepare a warning for ARCCOS-protected DVDs
Jean-Baptiste Kempf
git at videolan.org
Wed Apr 9 17:14:25 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 9 17:10:25 2014 +0200| [cbea0ade62580b69af7f937f72290f464758fcd7] | committer: Jean-Baptiste Kempf
dvdnav: prepare a warning for ARCCOS-protected DVDs
Ref #6649
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cbea0ade62580b69af7f937f72290f464758fcd7
---
modules/access/dvdnav.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index 791d2d6..1ba59e2 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -1036,6 +1036,10 @@ static void DemuxTitles( demux_t *p_demux )
/* Find out number of titles/chapters */
dvdnav_get_number_of_titles( p_sys->dvdnav, &i_titles );
+
+ if( i_titles > 90 )
+ msg_Err( p_demux, "This is probably an Arccos Protected DVD. This could take time..." );
+
for( i = 1; i <= i_titles; i++ )
{
int32_t i_chapters;
More information about the vlc-commits
mailing list