aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/livestreamer/stream.py')
-rw-r--r--src/livestreamer/stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livestreamer/stream.py b/src/livestreamer/stream.py
index 486e620..a6aac3b 100644
--- a/src/livestreamer/stream.py
+++ b/src/livestreamer/stream.py
@@ -1,6 +1,6 @@
from livestreamer import options
from livestreamer.utils import urlopen
-from livestreamer.compat import str
+from livestreamer.compat import str, is_win32
import os
import pbs
@@ -48,7 +48,7 @@ class RTMPStream(StreamProcess):
def __init__(self, params):
StreamProcess.__init__(self, params)
- self.rtmpdump = options.get("rtmpdump") or "rtmpdump"
+ self.rtmpdump = options.get("rtmpdump") or (is_win32 and "rtmpdump.exe" or "rtmpdump")
self.params["flv"] = "-"
try: