projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f1856a
)
audiorate: default to tolerance = 40ms instead of 0
author
Tim-Philipp Müller
<tim@centricular.net>
Sun, 9 Sep 2012 14:58:36 +0000
(15:58 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 9 Sep 2012 14:58:36 +0000
(15:58 +0100)
People expect audiorate to fix things up and not make things worse
by default, so let's default to a similar tolerance as audiosinks
do. Should help with transcoding and the like, though one might
possible still want higher values then.
gst/audiorate/gstaudiorate.c
patch
|
blob
|
history
diff --git
a/gst/audiorate/gstaudiorate.c
b/gst/audiorate/gstaudiorate.c
index
88a3d5f
..
76e4c79
100644
(file)
--- a/
gst/audiorate/gstaudiorate.c
+++ b/
gst/audiorate/gstaudiorate.c
@@
-77,7
+77,7
@@
enum
};
#define DEFAULT_SILENT TRUE
-#define DEFAULT_TOLERANCE
0
+#define DEFAULT_TOLERANCE
(40 * GST_MSECOND)
#define DEFAULT_SKIP_TO_FIRST FALSE
enum