Skip to content
Permalink
Browse files

Fix loop initialization from current position.

  • Loading branch information...
PetrosKataras committed Apr 14, 2019
1 parent 7c16768 commit 0f46e9e6308ed8996f0c3b1039c7b37be4913d01
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cinder/linux/GstPlayer.cpp
@@ -975,7 +975,7 @@ void GstPlayer::setLoop( bool loop, bool palindrome )
if( loop && ! palindrome ) {
auto currentPosition = getPositionNanos();
if( currentPosition != -1 )
seekToTime( currentPosition );
seekToTime( GST_TIME_AS_SECONDS( currentPosition ) );
else
seekToTime( 0.0f );
}

0 comments on commit 0f46e9e

Please sign in to comment.
You can’t perform that action at this time.