[vlc-commits] demux: adaptive: disable preparse for adaptive
Francois Cartegnie
git at videolan.org
Fri Mar 16 19:19:53 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar 16 11:41:20 2018 +0100| [ab79addbfdc6b5d91fd256a15848742238d0dfac] | committer: Francois Cartegnie
demux: adaptive: disable preparse for adaptive
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab79addbfdc6b5d91fd256a15848742238d0dfac
---
modules/demux/adaptive/adaptive.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/adaptive.cpp b/modules/demux/adaptive/adaptive.cpp
index 05dea53c14..3cab4dd13b 100644
--- a/modules/demux/adaptive/adaptive.cpp
+++ b/modules/demux/adaptive/adaptive.cpp
@@ -140,7 +140,7 @@ static int Open(vlc_object_t *p_obj)
{
demux_t *p_demux = (demux_t*) p_obj;
- if(!p_demux->s->psz_url)
+ if(!p_demux->s->psz_url || p_demux->s->b_preparsing)
return VLC_EGENERIC;
std::string mimeType;
More information about the vlc-commits
mailing list