Skip to content

Commit

Permalink
Update pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/Play…
Browse files Browse the repository at this point in the history
…erCallbackFlow.kt

Co-authored-by: Gaëtan Muller <[email protected]>
  • Loading branch information
StaehliJ and MGaetan89 authored Feb 22, 2024
1 parent 844f430 commit 29c7311
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ fun Player.getAspectRatioAsFlow(defaultAspectRatio: Float): Flow<Float> =
.map {
it.computeAspectRatio(defaultAspectRatio)
}
.onEmpty { emit(defaultAspectRatio) }

/**
* Get track selection parameters as flow [Player.getTrackSelectionParameters]
Expand Down

0 comments on commit 29c7311

Please sign in to comment.