Skip to content

Commit 1cf941f

Browse files
committed
[ISampleReader] Removed unused SetPTSDiff
1 parent a10bce0 commit 1cf941f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/Session.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,8 +1067,6 @@ bool SESSION::CSession::SeekTime(double seekTime, bool& isError)
10671067
if (!CheckReaderRunning(*stream))
10681068
return false;
10691069

1070-
streamReader->SetPTSDiff(ptsDiff);
1071-
10721070
if (!streamReader->TimeSeek(seekTimeCorrected))
10731071
{
10741072
streamReader->Reset(true);

src/samplereader/SampleReader.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ class ATTR_DLL_LOCAL ISampleReader
9191

9292
virtual void SetPTSOffset(uint64_t offset) = 0;
9393
virtual int64_t GetPTSDiff() const = 0;
94-
virtual void SetPTSDiff(uint64_t pts) {}
9594

9695
/*!
9796
* \brief Get the DTS or PTS of current packet, in manifest timing format

0 commit comments

Comments
 (0)