changeset 18758:411183f41efb

Remove misleading Encrypted VOB message; patch by Ismail Donmez (ismail ab pardus punctum org puntum tr)
author nicodvb
date Mon, 19 Jun 2006 21:43:02 +0000
parents 96a1b9c26771
children 04ed79acda15
files help/help_mp-en.h libmpdemux/demux_mpg.c
diffstat 2 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/help/help_mp-en.h	Mon Jun 19 20:29:44 2006 +0000
+++ b/help/help_mp-en.h	Mon Jun 19 21:43:02 2006 +0000
@@ -584,8 +584,6 @@
 #define MSGTR_CantSeekRawAVI "Cannot seek in raw AVI streams. (Index required, try with the -idx switch.)\n"
 #define MSGTR_CantSeekFile "Cannot seek in this file.\n"
 
-#define MSGTR_EncryptedVOB "Encrypted VOB file! Read DOCS/HTML/en/cd-dvd.html.\n"
-
 #define MSGTR_MOVcomprhdr "MOV: Compressed headers support requires ZLIB!\n"
 #define MSGTR_MOVvariableFourCC "MOV: WARNING: Variable FourCC detected!?\n"
 #define MSGTR_MOVtooManyTrk "MOV: WARNING: too many tracks"
--- a/libmpdemux/demux_mpg.c	Mon Jun 19 20:29:44 2006 +0000
+++ b/libmpdemux/demux_mpg.c	Mon Jun 19 21:43:02 2006 +0000
@@ -246,9 +246,6 @@
     int pts_flags;
     int hdrlen;
     // System-2 (.VOB) stream:
-    if((c>>4)&3) {
-        mp_msg(MSGT_DEMUX,MSGL_WARN,MSGTR_EncryptedVOB);
-    }
     c=stream_read_char(demux->stream); pts_flags=c>>6;
     c=stream_read_char(demux->stream); hdrlen=c;
     len-=2;