]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[rtp] Pass --realtime to rtmpdump (Fixes #4882)
authorNaglis Jonaitis <njonaitis@gmail.com>
Fri, 6 Feb 2015 11:41:58 +0000 (13:41 +0200)
committerNaglis Jonaitis <njonaitis@gmail.com>
Fri, 6 Feb 2015 11:44:46 +0000 (13:44 +0200)
A workaround for video jumping back in time.

youtube_dl/extractor/rtp.py

index 7736cabbac6b855be739b8c7521a073ea630f32f..4511cba4964ae83f1c3da5e648a0a4855c5a1144 100644 (file)
@@ -49,6 +49,7 @@ class RTPIE(InfoExtractor):
             'ext': ext,
             'vcodec': config.get('type') == 'audio' and 'none' or None,
             'player_url': 'http://programas.rtp.pt/play/player.swf?v3',
+            'rtmp_real_time': True,
         }]
 
         return {