[vlc-commits] demux: adaptive: improbe demux restart debugging

Francois Cartegnie git at videolan.org
Tue Mar 2 23:44:54 UTC 2021


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Mar  2 13:51:33 2021 +0100| [76c2e6ab6bf371d4b6d85e1861def569745b06f4] | committer: Francois Cartegnie

demux: adaptive: improbe demux restart debugging

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

 modules/demux/adaptive/Streams.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index 9594cba786..51d48524d5 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -536,7 +536,9 @@ block_t * AbstractStream::readNextBlock()
 
     if(discontinuity || needrestart)
     {
-        msg_Info(p_realdemux, "Encountered discontinuity");
+        msg_Info(p_realdemux, "Ending demuxer stream. %s%s",
+                 discontinuity ? "[discontinuity]" : "",
+                 needrestart ? "[needrestart]" : "");
         /* Force stream/demuxer to end for this call */
         return nullptr;
     }



More information about the vlc-commits mailing list