Skip to content

Commit

Permalink
Merge pull request #98 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] API update
  • Loading branch information
AlwinEsch committed Oct 30, 2020
2 parents b662980 + 7727a3a commit d83e6bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.dvbviewer/addon.xml.in
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.dvbviewer"
version="6.0.7"
version="7.0.0"
name="DVBViewer Client"
provider-name="Manuel Mausz">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.dvbviewer/changelog.txt
@@ -1,3 +1,6 @@
7.0.0:
[updated] PVR API 7.0.2

6.0.7:
[removed] Remove dependency on p8-platform and kodi-platform
[updated] Update to use std::thread
Expand Down
3 changes: 2 additions & 1 deletion src/DvbData.cpp
Expand Up @@ -14,6 +14,7 @@

#include <kodi/General.h>
#include <kodi/Network.h>
#include <kodi/addon-instance/inputstream/TimingConstants.h>
#include <kodi/tools/StringUtils.h>

#include <tinyxml.h>
Expand Down Expand Up @@ -1098,7 +1099,7 @@ PVR_ERROR Dvb::GetStreamTimes(kodi::addon::PVRStreamTimes& times)
times.SetStartTime(timeStart);
times.SetPTSStart(0);
times.SetPTSBegin(0);
times.SetPTSEnd((timeEnd - timeStart) * DVD_TIME_BASE);
times.SetPTSEnd((timeEnd - timeStart) * STREAM_TIME_BASE);
return PVR_ERROR_NO_ERROR;
}

Expand Down

0 comments on commit d83e6bc

Please sign in to comment.