[gegl] ff-load: report 23 frames when duration unknown



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]