• Benjamin Adolphi's avatar
    tvOS: Fixed transport bar not being updated when playback is paused · 1dd7fde4
    Benjamin Adolphi authored
    On tvOS, when the playback is paused, the transport bar is not being updated. This is because the playbackPositionUpdated callback in the VLCFullscreenMovieTVViewController class only updates the transport bar in case it is visible. This makes sense as it does not need to be updated in case it is not visible. However, in case of the playback being paused, the mediaPlayerStateChanged callback of the VLCFullscreenMovieTVViewController class, which handles showing the transport bar, is called after the last playbackPositionUpdated callback. Because of that, the transport bar is displayed but it displays the old position of when the transport bar was last hidden.
    
    This commit adds an additional update of the transport bar in case the playback is being paused.
    Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
    1dd7fde4
Name
Last commit
Last update
..
Playback Info Loading commit data...
VLCBufferingBar.h Loading commit data...
VLCBufferingBar.m Loading commit data...
VLCFullscreenMovieTVViewController.h Loading commit data...
VLCFullscreenMovieTVViewController.m Loading commit data...
VLCIRTVTapGestureRecognizer.h Loading commit data...
VLCIRTVTapGestureRecognizer.m Loading commit data...
VLCPlaybackControlsFocusView.h Loading commit data...
VLCPlaybackControlsFocusView.m Loading commit data...
VLCSiriRemoteGestureRecognizer.h Loading commit data...
VLCSiriRemoteGestureRecognizer.m Loading commit data...
VLCTransportBar.h Loading commit data...
VLCTransportBar.m Loading commit data...