[gegl] ff-load: report 23 frames when duration unknown
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ff-load: report 23 frames when duration unknown
- Date: Sun, 29 Nov 2015 14:39:43 +0000 (UTC)
commit 0bad1a497c62cf6f84bd884f4f366be6e9b45b76
Author: Øyvind Kolås <pippin gimp org>
Date: Sun Nov 29 00:19:42 2015 +0100
ff-load: report 23 frames when duration unknown
operations/external/ff-load.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index 93ceb90..404aadb 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -516,7 +516,7 @@ prepare (GeglOperation *operation)
o->frames = p->video_fcontext->duration * o->frame_rate / AV_TIME_BASE;
/* make second guess for things like luxo */
if (o->frames < 1)
- o->frames = 1000;
+ o->frames = 23;
}
#if 0
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]