[vlc-devel] [PATCH 4/6] demux: adaptative: fix compilation
KO Myung-Hun
komh78 at gmail.com
Mon Jul 6 10:03:23 CEST 2015
---
modules/demux/adaptative/Streams.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/demux/adaptative/Streams.cpp b/modules/demux/adaptative/Streams.cpp
index 3c0de1c..2fd635c 100644
--- a/modules/demux/adaptative/Streams.cpp
+++ b/modules/demux/adaptative/Streams.cpp
@@ -59,13 +59,13 @@ StreamType Stream::mimeToType(const std::string &mime)
{
StreamType mimetype;
if (!mime.compare(0, 6, "video/"))
- mimetype = StreamType::VIDEO;
+ mimetype = VIDEO;
else if (!mime.compare(0, 6, "audio/"))
- mimetype = StreamType::AUDIO;
+ mimetype = AUDIO;
else if (!mime.compare(0, 12, "application/"))
- mimetype = StreamType::APPLICATION;
+ mimetype = APPLICATION;
else /* unknown of unsupported */
- mimetype = StreamType::UNKNOWN;
+ mimetype = UNKNOWN;
return mimetype;
}
--
1.9.5
More information about the vlc-devel
mailing list