[vlc-devel] [PATCH 40/48] hls: Reactivating prefetch.
Hugo Beauzée-Luyssen
beauze.h at gmail.com
Mon Jan 9 16:16:49 CET 2012
---
modules/stream_filter/httplive.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 77a0b3c..b8bc4c9 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -1668,7 +1668,6 @@ again:
/* Download first 2 segments of this HLS stream */
stream = *current;
- return VLC_SUCCESS;
for (int i = 0; i < 2; i++)
{
segment_t *segment = segment_GetSegment(hls, p_sys->download.segment);
@@ -1924,13 +1923,11 @@ static int OpenWithPlaylist(stream_t *s, const char *m3u8_playlist)
if (p_sys->b_live && (p_sys->playback.segment < 0))
msg_Warn(s, "less data than 3 times 'target duration' available for live playback, playback may stall");
-#if 0
if (Prefetch(s, ¤t) != VLC_SUCCESS)
{
msg_Err(s, "fetching first segment failed.");
goto fail;
}
-#endif
p_sys->b_dont_change_bitrate = true;
--
1.7.8.3
More information about the vlc-devel
mailing list