summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-08-24 14:13:45 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-08-27 12:36:59 +0200
commit404731bd20e1df5880e6fe381e975ba48afc75b2 (patch)
tree20c3f75cf6dfdc9dd765ce108501e2b95de228d8 /libavdevice
parentff771f79b55a346b4163d814b58ee4c98114745e (diff)
pulse: Set the wallclock option as default
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/pulse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/pulse.c b/libavdevice/pulse.c
index d724964d0b..2136ee3fa4 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 },
};