[gegl] ff-save: tune audio encoding to work for both .ogv and .mkv containers
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ff-save: tune audio encoding to work for both .ogv and .mkv containers
- Date: Mon, 23 Nov 2015 05:36:23 +0000 (UTC)
commit 31fa2608795441a7bf24077809fa34fd1a53d9dc
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Nov 23 06:36:13 2015 +0100
ff-save: tune audio encoding to work for both .ogv and .mkv containers
operations/external/ff-save.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index f9a845c..31aff51 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -424,7 +424,7 @@ write_audio_frame (GeglProperties *o, AVFormatContext * oc, AVStream * st)
fprintf (stderr, "eeeek unhandled audio format\n");
break;
}
- frame->pts = av_rescale_q (p->next_apts, (AVRational){1, c->sample_rate}, c->time_base);
+ frame->pts = av_rescale_q (p->next_apts, (AVRational){1, c->sample_rate}, st->time_base);
p->next_apts += sample_count;
av_frame_make_writable (frame);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]