From f2254e36c04898a5643f365e360e6031c78a1adb Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Tue, 23 Sep 2014 16:49:59 +0200 Subject: [PATCH] lavd/avfoundation: Use microseconds as common timebase. Signed-off-by: Michael Niedermayer --- libavdevice/avfoundation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index 5b1e694947..c31a9345b5 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m @@ -35,7 +35,7 @@ #include "libavutil/time.h" #include "avdevice.h" -static const int avf_time_base = 100; +static const int avf_time_base = 1000000; static const AVRational avf_time_base_q = { .num = 1,