[FFmpeg-cvslog] pulse: Set the wallclock option as default

Luca Barbato git at videolan.org
Wed Aug 27 21:02:09 CEST 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Aug 24 14:13:45 2014 +0200| [404731bd20e1df5880e6fe381e975ba48afc75b2] | committer: Luca Barbato

pulse: Set the wallclock option as default

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=404731bd20e1df5880e6fe381e975ba48afc75b2
---

 libavdevice/pulse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/pulse.c b/libavdevice/pulse.c
index d724964..2136ee3 100644
--- a/libavdevice/pulse.c
+++ b/libavdevice/pulse.c
@@ -172,7 +172,7 @@ static const AVOption options[] = {
     { "channels",      "number of audio channels",                       OFFSET(channels),      AV_OPT_TYPE_INT,    {.i64 = 2},        1, INT_MAX, D },
     { "frame_size",    "number of bytes per frame",                      OFFSET(frame_size),    AV_OPT_TYPE_INT,    {.i64 = 1024},     1, INT_MAX, D },
     { "fragment_size", "buffering size, affects latency and cpu usage",  OFFSET(fragment_size), AV_OPT_TYPE_INT,    {.i64 = -1},      -1, INT_MAX, D },
-    { "wallclock",     "set the initial pts using the current time",     OFFSET(wallclock),     AV_OPT_TYPE_INT,    {.i64 = 0},       -1, 1, D },
+    { "wallclock",     "set the initial pts using the current time",     OFFSET(wallclock),     AV_OPT_TYPE_INT,    {.i64 = 1},       -1, 1, D },
     { NULL },
 };
 



More information about the ffmpeg-cvslog mailing list