summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/advtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/advtime.c b/src/advtime.c
index a928562..2316f13 100644
--- a/src/advtime.c
+++ b/src/advtime.c
@@ -173,7 +173,7 @@ main(int argc, char **argv)
}
if (diff > 40.0) {
- start_new_szene(last_dts, vd->fmt_ctx->streams[0]->cur_dts);
+ start_new_szene(last_dts, vd->fmt_ctx->streams[1]->cur_dts);
if (!frame_flag && !average_flag) {
printf("\n");
@@ -197,7 +197,7 @@ main(int argc, char **argv)
}
pswap((void **)&frame_a, (void **)&frame_b);
- last_dts = vd->fmt_ctx->streams[0]->cur_dts;
+ last_dts = vd->fmt_ctx->streams[1]->cur_dts;
}
if (diff_flag) {