Module: libav
Branch: master
Commit: 3f3232a371cc88696184d9aef1f812656264e56c

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Wed Jul  9 10:33:03 2014 +0000

avconv: set the output stream timebase

This is required by the new API.

---

 avconv.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/avconv.c b/avconv.c
index 13968da..0ee7628 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1972,6 +1972,8 @@ static int transcode_init(void)
                    "Error initializing the output stream codec context.\n");
             exit_program(1);
         }
+
+        ost->st->time_base = ost->enc_ctx->time_base;
     }
 
     /* init input streams */

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to