[SCM] libav/experimental: avconv: set the output stream timebase

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:48 UTC 2014


The following commit has been merged in the experimental branch:
commit 3f3232a371cc88696184d9aef1f812656264e56c
Author: Anton Khirnov <anton at khirnov.net>
Date:   Wed Jul 9 10:33:03 2014 +0000

    avconv: set the output stream timebase
    
    This is required by the new API.

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/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list