[vlc-commits] demux: adaptive: show codecs on debug
Francois Cartegnie
git at videolan.org
Mon May 20 16:58:00 CEST 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 17 21:13:45 2019 +0200| [8b8ff08628afb7db2fd345d92f5d8bf137db091c] | committer: Francois Cartegnie
demux: adaptive: show codecs on debug
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b8ff08628afb7db2fd345d92f5d8bf137db091c
---
modules/demux/adaptive/playlist/BaseRepresentation.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/modules/demux/adaptive/playlist/BaseRepresentation.cpp b/modules/demux/adaptive/playlist/BaseRepresentation.cpp
index 541319b620..49b8cfcee0 100644
--- a/modules/demux/adaptive/playlist/BaseRepresentation.cpp
+++ b/modules/demux/adaptive/playlist/BaseRepresentation.cpp
@@ -153,6 +153,14 @@ void BaseRepresentation::debug(vlc_object_t *obj, int indent) const
std::string text(indent, ' ');
text.append("Representation ");
text.append(id.str());
+ if(!codecs.empty())
+ {
+ std::list<std::string>::const_iterator c = codecs.begin();
+ text.append(" [" + *c++);
+ while(c != codecs.end())
+ text.append("," + *c++);
+ text.append("]");
+ }
msg_Dbg(obj, "%s", text.c_str());
std::vector<ISegment *> list;
getAllSegments(list);
More information about the vlc-commits
mailing list