[vlc-devel] [PATCH 3/7] demux:mkv: Segments with chapters but no clusters are ok
Steve Lhomme
robux4 at videolabs.io
Tue Mar 15 08:50:21 CET 2016
---
modules/demux/mkv/mkv.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 33a19cd..de9bcef 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -141,9 +141,9 @@ static int Open( vlc_object_t * p_this )
}
p_segment = p_stream->segments[0];
- if( p_segment->cluster == NULL )
+ if( p_segment->cluster == NULL && p_segment->stored_editions.size() == 0 )
{
- msg_Err( p_demux, "cannot find any cluster, damaged file ?" );
+ msg_Err( p_demux, "cannot find any cluster or chapter, damaged file ?" );
goto error;
}
--
2.7.2.windows.1
More information about the vlc-devel
mailing list