mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Revert ffmpeg as it causes issues with subtitles :(
This commit is contained in:
parent
8ebf5185a3
commit
8fff809b79
2 changed files with 3 additions and 3 deletions
|
@ -160,7 +160,7 @@ dependencies {
|
||||||
implementation("com.google.android.exoplayer:extension-mediasession:2.18.2")
|
implementation("com.google.android.exoplayer:extension-mediasession:2.18.2")
|
||||||
implementation("com.google.android.exoplayer:extension-okhttp:2.18.2")
|
implementation("com.google.android.exoplayer:extension-okhttp:2.18.2")
|
||||||
// Use the Jellyfin ffmpeg extension for easy ffmpeg audio decoding in exoplayer. Thank you Jellyfin <3
|
// Use the Jellyfin ffmpeg extension for easy ffmpeg audio decoding in exoplayer. Thank you Jellyfin <3
|
||||||
implementation("org.jellyfin.exoplayer:exoplayer-ffmpeg-extension:2.18.2+1")
|
// implementation("org.jellyfin.exoplayer:exoplayer-ffmpeg-extension:2.18.2+1")
|
||||||
|
|
||||||
//implementation("com.google.android.exoplayer:extension-leanback:2.14.0")
|
//implementation("com.google.android.exoplayer:extension-leanback:2.14.0")
|
||||||
|
|
||||||
|
|
|
@ -674,9 +674,9 @@ class CS3IPlayer : IPlayer {
|
||||||
ExoPlayer.Builder(context)
|
ExoPlayer.Builder(context)
|
||||||
.setRenderersFactory { eventHandler, videoRendererEventListener, audioRendererEventListener, textRendererOutput, metadataRendererOutput ->
|
.setRenderersFactory { eventHandler, videoRendererEventListener, audioRendererEventListener, textRendererOutput, metadataRendererOutput ->
|
||||||
DefaultRenderersFactory(context).apply {
|
DefaultRenderersFactory(context).apply {
|
||||||
setEnableDecoderFallback(true)
|
// setEnableDecoderFallback(true)
|
||||||
// Enable Ffmpeg extension
|
// Enable Ffmpeg extension
|
||||||
setExtensionRendererMode(EXTENSION_RENDERER_MODE_ON)
|
// setExtensionRendererMode(EXTENSION_RENDERER_MODE_ON)
|
||||||
}.createRenderers(
|
}.createRenderers(
|
||||||
eventHandler,
|
eventHandler,
|
||||||
videoRendererEventListener,
|
videoRendererEventListener,
|
||||||
|
|
Loading…
Reference in a new issue