mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-17 13:19:59 +01:00
BugFix and code cleanup
Fixed rendering of Mesh by using new TextureShader (instead of ImageShader which is dedicated to square Surfaces). Cleanup includes and code layout.
This commit is contained in:
@@ -1319,10 +1319,10 @@ void MediaPlayer::execute_loop_command()
|
||||
{
|
||||
if (loop_==LOOP_REWIND) {
|
||||
rewind();
|
||||
} else if (loop_ == LOOP_BIDIRECTIONAL) {
|
||||
}
|
||||
else if (loop_ == LOOP_BIDIRECTIONAL) {
|
||||
rate_ *= -1.f;
|
||||
execute_seek_command();
|
||||
// execute_seek_command(position_ + (rate_ > 0.f ? media_.dt : media_.dt));
|
||||
}
|
||||
else { //LOOP_NONE
|
||||
if (desired_state_ == GST_STATE_PLAYING) // avoid repeated call
|
||||
|
||||
Reference in New Issue
Block a user