mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00
Fix EPI.seekTo to balance operation acks when seeking during an ad
This regression was introduced in
b1e9257de1
Issue: #8349
PiperOrigin-RevId: 347802049
This commit is contained in:
parent
ffa746f390
commit
d0e6dec199
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
### 2.12.3 (???-??-??) ###
|
### 2.12.3 (???-??-??) ###
|
||||||
|
|
||||||
|
* Core library:
|
||||||
|
* Fix playback issues after seeking during an ad
|
||||||
|
([#8349](https://github.com/google/ExoPlayer/issues/8349)).
|
||||||
* UI:
|
* UI:
|
||||||
* Fix issue where pop-up menus belonging to `StyledPlayerControlView`
|
* Fix issue where pop-up menus belonging to `StyledPlayerControlView`
|
||||||
would not be dismissed when tapping outside of the menu area or pressing
|
would not be dismissed when tapping outside of the menu area or pressing
|
||||||
|
@ -601,8 +601,10 @@ import java.util.concurrent.TimeoutException;
|
|||||||
// general because the midroll ad preceding the seek destination must be played before the
|
// general because the midroll ad preceding the seek destination must be played before the
|
||||||
// content position can be played, if a different ad is playing at the moment.
|
// content position can be played, if a different ad is playing at the moment.
|
||||||
Log.w(TAG, "seekTo ignored because an ad is playing");
|
Log.w(TAG, "seekTo ignored because an ad is playing");
|
||||||
playbackInfoUpdateListener.onPlaybackInfoUpdate(
|
ExoPlayerImplInternal.PlaybackInfoUpdate playbackInfoUpdate =
|
||||||
new ExoPlayerImplInternal.PlaybackInfoUpdate(playbackInfo));
|
new ExoPlayerImplInternal.PlaybackInfoUpdate(this.playbackInfo);
|
||||||
|
playbackInfoUpdate.incrementPendingOperationAcks(1);
|
||||||
|
playbackInfoUpdateListener.onPlaybackInfoUpdate(playbackInfoUpdate);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@Player.State
|
@Player.State
|
||||||
|
Loading…
x
Reference in New Issue
Block a user