diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2016-11-27 08:14:01 +0100 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2016-11-27 08:14:01 +0100 |
commit | 1bd730bebc79d0aa42f6f77b3788d5db0b10bbb6 (patch) | |
tree | 7b83472740cf0cf06f3bdb4ab301ae42b771139c | |
parent | 3067efc46cc28778cde4d6aba7aa489f45b39b2c (diff) |
VideoPlayer: rtmp fixes
-rw-r--r-- | xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp b/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp index 3b3a10ded1..3540a8f0c8 100644 --- a/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp +++ b/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp @@ -766,11 +766,15 @@ AVDictionary *CDVDDemuxFFmpeg::GetFFMpegOptionsFromInput() { static const std::map<std::string,std::string> optionmap = {{{"SWFPlayer", "rtmp_swfurl"}, + {"swfplayer", "rtmp_swfurl"}, {"PageURL", "rtmp_pageurl"}, + {"pageurl", "rtmp_pageurl"}, {"PlayPath", "rtmp_playpath"}, + {"playpath", "rtmp_playpath"}, {"TcUrl", "rtmp_tcurl"}, + {"tcurl", "rtmp_tcurl"}, {"IsLive", "rtmp_live"}, - {"playpath", "rtmp_playpath"}, + {"islive", "rtmp_live"}, {"swfurl", "rtmp_swfurl"}, {"swfvfy", "rtmp_swfverify"}, }}; @@ -792,7 +796,8 @@ AVDictionary *CDVDDemuxFFmpeg::GetFFMpegOptionsFromInput() bool swfvfy=false; for (size_t i = 1; i < opts.size(); ++i) { - std::vector<std::string> value = StringUtils::Split(opts[i], "="); + std::vector<std::string> value = StringUtils::Split(opts[i], "=", 2); + StringUtils::ToLower(value[0]); auto it = optionmap.find(value[0]); if (it != optionmap.end()) { |