[vlc-commits] demux: adaptive: don't show err for unsupported demuxers

Francois Cartegnie git at videolan.org
Sun Jul 17 16:45:44 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Jul 17 16:40:46 2016 +0200| [46bd4c62e48c0592e3d3006b37b372026ed86762] | committer: Francois Cartegnie

demux: adaptive: don't show err for unsupported demuxers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46bd4c62e48c0592e3d3006b37b372026ed86762
---

 modules/demux/adaptive/Streams.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index 586d7f8..50be19a 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -210,7 +210,7 @@ bool AbstractStream::startDemux()
 
     demuxersource->Reset();
     demuxer = createDemux(format);
-    if(!demuxer)
+    if(!demuxer && format != StreamFormat())
         msg_Err(p_realdemux, "Failed to create demuxer");
 
     return !!demuxer;



More information about the vlc-commits mailing list