summaryrefslogtreecommitdiff
path: root/src/multiplexer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/multiplexer.cc')
-rw-r--r--src/multiplexer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multiplexer.cc b/src/multiplexer.cc
index 69e727a..0b75723 100644
--- a/src/multiplexer.cc
+++ b/src/multiplexer.cc
@@ -297,7 +297,7 @@ bool Multiplexer::packet()
StreamType type;
// New switching mechanism
- if(written[TYPE_AUDIO] < written[TYPE_VIDEO]) {
+ if(written[TYPE_AUDIO] < written[TYPE_VIDEO] + 10) {
type = TYPE_AUDIO;
} else {
type = TYPE_VIDEO;