[FFmpeg-cvslog] r17691 - trunk/ffplay.c
stefano
subversion
Sun Mar 1 17:59:00 CET 2009
Author: stefano
Date: Sun Mar 1 17:58:59 2009
New Revision: 17691
Log:
Fix subtitle selection logic, make ffplay select the subtitle stream N
rather than the subtitle stream N-1 when N is not zero.
Modified:
trunk/ffplay.c
Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c Sun Mar 1 17:35:25 2009 (r17690)
+++ trunk/ffplay.c Sun Mar 1 17:58:59 2009 (r17691)
@@ -1983,7 +1983,7 @@ static int decode_thread(void *arg)
break;
case CODEC_TYPE_SUBTITLE:
if (wanted_subtitle_stream >= 0 && !video_disable &&
- (subtitle_index < 0 || wanted_subtitle_stream-- > 0))
+ (subtitle_index < 0 || wanted_subtitle_stream-- >= 0))
subtitle_index = i;
break;
default:
More information about the ffmpeg-cvslog
mailing list