From: Good Guy Date: Thu, 3 Nov 2016 17:47:38 +0000 (-0600) Subject: fix problem with subtitle durations X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=6de130cc1507ac18b76d8e992f9cc82a293280a5;p=goodguy%2Fhistory.git fix problem with subtitle durations --- diff --git a/cinelerra-5.1/libzmpeg3/video/subtitle.C b/cinelerra-5.1/libzmpeg3/video/subtitle.C index 659ade96..a8b39086 100644 --- a/cinelerra-5.1/libzmpeg3/video/subtitle.C +++ b/cinelerra-5.1/libzmpeg3/video/subtitle.C @@ -481,8 +481,8 @@ decode(video_t *video) if( video->framenum > late_frame ) return -1; // way too late } if( video->framenum < start_frame ) return 0; // too early - if( video->framenum < stop_frame ) return 1; // not too late - return 0; + if( video->framenum >= stop_frame ) return -1; // too late + return 1; } void zvideo_t::