life: add seed information in filter summary.
authorClément Bœsch <ubitux@gmail.com>
Sun, 11 Dec 2011 12:36:53 +0000 (13:36 +0100)
committerClément Bœsch <ubitux@gmail.com>
Sun, 11 Dec 2011 12:36:58 +0000 (13:36 +0100)
libavfilter/vsrc_life.c

index ce0eecc..2fb3878 100644 (file)
@@ -261,9 +261,10 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque)
     }
 
     av_log(ctx, AV_LOG_INFO,
-           "s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d\n",
+           "s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d seed:%u\n",
            life->w, life->h, frame_rate.num, frame_rate.den,
-           life->rule_str, life->stay_rule, life->born_rule, life->stitch);
+           life->rule_str, life->stay_rule, life->born_rule, life->stitch,
+           life->random_seed);
     return 0;
 }