diff options
Diffstat (limited to 'hlsPlayer.cpp')
-rw-r--r-- | hlsPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsPlayer.cpp b/hlsPlayer.cpp index fc0c7cb..2281dcb 100644 --- a/hlsPlayer.cpp +++ b/hlsPlayer.cpp @@ -52,7 +52,7 @@ cHlsSegmentLoader::~cHlsSegmentLoader() { } void cHlsSegmentLoader::SkipEmptySegments(int segmentDuration) { - pcrecpp::RE re("&offset=(\\d+)", pcrecpp::RE_Options(PCRE_CASELESS)); + pcrecpp::RE re("&offset=(-?\\d+)", pcrecpp::RE_Options(PCRE_CASELESS)); int value; re.PartialMatch(m_startUri.getQuery(), &value); if (value > segmentDuration) { |