Skip to content

Commit

Permalink
Removed unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpreussner committed Jan 16, 2016
1 parent e19c602 commit d463e29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions Source/VlcMedia/Private/Player/VlcMediaPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ void FVlcMediaPlayer::Close()
// reset fields
CurrentTime = FTimespan::Zero();
MediaSource.Close();
Tracks.Reset();

MediaEvent.Broadcast(EMediaEvent::TracksChanged);
MediaEvent.Broadcast(EMediaEvent::MediaClosed);
Expand Down Expand Up @@ -392,11 +391,6 @@ bool FVlcMediaPlayer::HandleTicker(float DeltaTime)
AudioHandler.SetTime(CurrentTime);
VideoHandler.SetTime(CurrentTime);

for (TSharedRef<FVlcMediaTrack, ESPMode::ThreadSafe>& Track : Tracks)
{
Track->SetTime(CurrentTime);
}

return true;
}

Expand Down
3 changes: 0 additions & 3 deletions Source/VlcMedia/Private/Player/VlcMediaPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ class FVlcMediaPlayer
/** Handle to the registered ticker. */
FDelegateHandle TickerHandle;

/** Collection of all available tracks. */
TArray<TSharedRef<FVlcMediaTrack, ESPMode::ThreadSafe>> Tracks;

/** The video callback handler. */
FVlcMediaVideoHandler VideoHandler;
};

0 comments on commit d463e29

Please sign in to comment.