changeset 14188:0180a7f96197

Hopefully fixes problems with non-working vobsubs. Applied so it gets some testing before release.
author reimar
date Sun, 19 Dec 2004 16:59:39 +0000
parents 19589e978000
children 1b76f4ee85fd
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sun Dec 19 16:53:26 2004 +0000
+++ b/mplayer.c	Sun Dec 19 16:59:39 2004 +0000
@@ -1801,7 +1801,9 @@
 demux_info_print(demuxer);
 
 //================== Read SUBTITLES (DVD & TEXT) ==========================
-if(vo_spudec==NULL && sh_video && (stream->type==STREAMTYPE_DVD || demuxer->type==DEMUXER_TYPE_MATROSKA)){
+if(vo_spudec==NULL && sh_video &&
+     (stream->type==STREAMTYPE_DVD || demuxer->type==DEMUXER_TYPE_MATROSKA ||
+      d_dvdsub->id >= 0)){
 
 if (spudec_ifo) {
   unsigned int palette[16], width, height;