summaryrefslogtreecommitdiffstats
path: root/video/out/vo_lavc.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_lavc.c')
-rw-r--r--video/out/vo_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c
index 840103c0c2..df2145a798 100644
--- a/video/out/vo_lavc.c
+++ b/video/out/vo_lavc.c
@@ -405,7 +405,7 @@ static void draw_image(struct vo *vo, mp_image_t *mpi)
// lastframeipts: pts of last ENCODED frame
// now we want to go forward in time until at least lastframeipts + mindeltapts
// so let's just assume this frame took place at this time or later
- if (frameipts >= vc->lastframeipts && frameipts < vc->lastframeipts + vc->mindeltapts) {
+ if (frameipts > vc->lastframeipts && frameipts < vc->lastframeipts + vc->mindeltapts) {
frameipts = vc->lastframeipts + vc->mindeltapts;
vc->lastpts = frameipts * timeunit - encode_lavc_getoffset(ectx, vc->stream);
}