Skip to content

Commit d463e29

Browse files
committed
Removed unused code.
1 parent e19c602 commit d463e29

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Source/VlcMedia/Private/Player/VlcMediaPlayer.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ void FVlcMediaPlayer::Close()
110110
// reset fields
111111
CurrentTime = FTimespan::Zero();
112112
MediaSource.Close();
113-
Tracks.Reset();
114113

115114
MediaEvent.Broadcast(EMediaEvent::TracksChanged);
116115
MediaEvent.Broadcast(EMediaEvent::MediaClosed);
@@ -392,11 +391,6 @@ bool FVlcMediaPlayer::HandleTicker(float DeltaTime)
392391
AudioHandler.SetTime(CurrentTime);
393392
VideoHandler.SetTime(CurrentTime);
394393

395-
for (TSharedRef<FVlcMediaTrack, ESPMode::ThreadSafe>& Track : Tracks)
396-
{
397-
Track->SetTime(CurrentTime);
398-
}
399-
400394
return true;
401395
}
402396

Source/VlcMedia/Private/Player/VlcMediaPlayer.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ class FVlcMediaPlayer
124124
/** Handle to the registered ticker. */
125125
FDelegateHandle TickerHandle;
126126

127-
/** Collection of all available tracks. */
128-
TArray<TSharedRef<FVlcMediaTrack, ESPMode::ThreadSafe>> Tracks;
129-
130127
/** The video callback handler. */
131128
FVlcMediaVideoHandler VideoHandler;
132129
};

0 commit comments

Comments
 (0)