[MPlayer-cvslog] r31692 - trunk/mpcommon.c
reimar
subversion at mplayerhq.hu
Sun Jul 11 11:03:14 CEST 2010
Author: reimar
Date: Sun Jul 11 11:03:13 2010
New Revision: 31692
Log:
Remove dvdsub_id checks that should not be necessary.
Modified:
trunk/mpcommon.c
Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c Sun Jul 11 10:02:26 2010 (r31691)
+++ trunk/mpcommon.c Sun Jul 11 11:03:13 2010 (r31692)
@@ -131,7 +131,7 @@ void update_subtitles(sh_video_t *sh_vid
// DVD sub:
if (vo_config_count &&
- (vobsub_id >= 0 || (dvdsub_id >= 0 && type == 'v'))) {
+ (vobsub_id >= 0 || type == 'v')) {
int timestamp;
if (!vo_spudec)
vo_spudec = spudec_new(NULL);
@@ -170,7 +170,7 @@ void update_subtitles(sh_video_t *sh_vid
if (vo_vobsub || timestamp >= 0)
spudec_assemble(vo_spudec, packet, len, timestamp);
}
- } else if (dvdsub_id >= 0 && (is_text_sub(type) || is_av_sub(type) || type == 'd')) {
+ } else if (is_text_sub(type) || is_av_sub(type) || type == 'd') {
int orig_type = type;
double endpts;
if (type == 'd' && !d_dvdsub->demuxer->teletext) {
More information about the MPlayer-cvslog
mailing list