projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439d655
)
fix problem with subtitle durations
author
Good Guy
<
[email protected]
>
Thu, 3 Nov 2016 17:47:38 +0000
(11:47 -0600)
committer
Good Guy
<
[email protected]
>
Thu, 3 Nov 2016 17:47:38 +0000
(11:47 -0600)
cinelerra-5.1/libzmpeg3/video/subtitle.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/libzmpeg3/video/subtitle.C
b/cinelerra-5.1/libzmpeg3/video/subtitle.C
index 659ade968d366616bfc3f71f55e929ba406d5bba..a8b390864490dfe97bb65177ee69663263a3c5d4 100644
(file)
--- 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::