vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Oct 22 00:28:49 2020 +0200| [e4f18c55761380099dc81b2810956d8f11f72a60] | committer: Francois Cartegnie
demux: adaptive: add stream switch debug > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4f18c55761380099dc81b2810956d8f11f72a60 --- modules/demux/adaptive/Streams.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp index d522946899..cd77398522 100644 --- a/modules/demux/adaptive/Streams.cpp +++ b/modules/demux/adaptive/Streams.cpp @@ -669,6 +669,12 @@ void AbstractStream::trackerEvent(const SegmentTrackerEvent &event) !event.u.switching.next->getAdaptationSet()->isBitSwitchable())) needrestart = true; } + AdvDebug(msg_Dbg(p_realdemux, "Stream %s switching %s %s to %s %s", + description.c_str(), + event.u.switching.prev ? event.u.switching.prev->getID().str().c_str() : "", + event.u.switching.prev ? event.u.switching.prev->getStreamFormat().str().c_str() : "", + event.u.switching.next ? event.u.switching.next->getID().str().c_str() : "", + event.u.switching.next ? event.u.switching.next->getStreamFormat().str().c_str() : "")); break; case SegmentTrackerEvent::SEGMENT_CHANGE: _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
