Skip to content

Commit

Permalink
[android] Enable flush MediaCodec during seek
Browse files Browse the repository at this point in the history
b/320568573
  • Loading branch information
borongc committed Apr 14, 2024
1 parent 89a8945 commit 5e4560a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starboard/android/shared/player_components_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ constexpr bool kForceResetSurfaceUnderTunnelMode = true;
// By default, Cobalt recreates MediaCodec when Reset() during Seek().
// Set the following variable to true to force it Flush() MediaCodec
// during Seek().
constexpr bool kForceFlushDecoderDuringReset = false;
constexpr bool kForceFlushDecoderDuringReset = true;

// This class allows us to force int16 sample type when tunnel mode is enabled.
class AudioRendererSinkAndroid : public ::starboard::shared::starboard::player::
Expand Down

0 comments on commit 5e4560a

Please sign in to comment.