mirror of
https://github.com/Rafostar/clapper.git
synced 2026-01-16 00:40:36 +01:00
clapper: Also update decoders after preroll
Sometimes decoders might not be active yet until media starts playing, to fix that being racy also try to update them after preroll
This commit is contained in:
@@ -613,6 +613,9 @@ _handle_state_changed_msg (GstMessage *msg, ClapperPlayer *player)
|
||||
}
|
||||
|
||||
_update_current_duration (player);
|
||||
|
||||
if (!player->use_playbin3)
|
||||
clapper_player_playbin_update_current_decoders (player);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user