As some devices not present in ExoPlayer's list may not implement
MediaCodec.setOutputSurface(Surface) properly, this workaround could be useful
on these devices.
It forces ExoPlayer to fall back on releasing and re-instantiating video codec
instances, which is always used on Android 5 and lower due to addition of this
method in Android 6.
To do so, a CustomMediaCodecVideoRenderer, based on ExoPlayer's
MediaVideoCodecRenderer which always return true for the
codecNeedsSetOutputSurfaceWorkaround method has been added, which is used in
CustomRenderersFactory, a class based on DefaultRenderersFactory which always
returns our CustomMediaCodecVideoRenderer as the video renderers.
CustomRenderersFactory replaces DefaultRenderersFactory in the player, in the
case this setting is enabled.
- Remove redundant player restart requirement note, as it is written on the
ExoPlayer settings description page;
- Add precision about the setting effect/limitation, as it only applies on
progressive contents/media sources and not on every content/media source;
- Remove translations of this description, to ensure that they will be updated
by translators.
Media tunneling may be not supported by more devices than the ones we
whitelisted before.
As a matter of fact, the list of devices on which media tunneling is disabled
could be not maintainable in the future, especially if the list of devices
grows more and more.
A preferable solution is to allow users to configure this setting themselves,
allowing them to not wait for their device(s) to be whitelisted in a future
NewPipe update.
This solution has been applied in this commit and works on every build type.
The corresponding preference in the debug settings has been of course removed
and the code used to prevent media tunneling activation on specific devices has
been removed.
This option could help to avoid decoder initialization issues, which falls back
to lower-priority decoders if decoder initialization fails. This may result in
poor playback performance than when using primary decoders.
It is disabled by default, but can be enabled in ExoPlayer settings.
This fragment has been added into SettingsResourceRegistry, to allow searches
in its options.
It has been placed at the place of the previous playback load interval size
setting (so in Video and Audio settings).
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (661 of 661 strings)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Olivia Ng <uloo592@gmail.com>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Swedish)
Currently translated at 59.4% (44 of 74 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 18.9% (14 of 74 strings)
Translated using Weblate (Danish)
Currently translated at 98.3% (650 of 661 strings)
Translated using Weblate (Belarusian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Korean)
Currently translated at 99.8% (660 of 661 strings)
Translated using Weblate (French)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (German)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Indonesian)
Currently translated at 74.3% (55 of 74 strings)
Translated using Weblate (Czech)
Currently translated at 98.6% (73 of 74 strings)
Translated using Weblate (Ukrainian)
Currently translated at 98.6% (73 of 74 strings)
Translated using Weblate (Basque)
Currently translated at 43.2% (32 of 74 strings)
Translated using Weblate (Dutch (Belgium))
Currently translated at 85.6% (566 of 661 strings)
Translated using Weblate (Belarusian)
Currently translated at 92.7% (613 of 661 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Latvian)
Currently translated at 89.7% (593 of 661 strings)
Translated using Weblate (Malay)
Currently translated at 54.3% (359 of 661 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.3% (650 of 661 strings)
Translated using Weblate (Vietnamese)
Currently translated at 97.7% (646 of 661 strings)
Translated using Weblate (Lithuanian)
Currently translated at 97.4% (644 of 661 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Korean)
Currently translated at 99.8% (660 of 661 strings)
Translated using Weblate (Hungarian)
Currently translated at 97.4% (644 of 661 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (English)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Assamese)
Currently translated at 14.8% (98 of 661 strings)
Translated using Weblate (Georgian)
Currently translated at 96.6% (639 of 661 strings)
Translated using Weblate (Bosnian)
Currently translated at 17.8% (118 of 661 strings)
Translated using Weblate (Gujarati)
Currently translated at 9.9% (66 of 661 strings)
Translated using Weblate (Marathi)
Currently translated at 8.4% (56 of 661 strings)
Translated using Weblate (Odia)
Currently translated at 99.8% (660 of 661 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Bengali)
Currently translated at 87.7% (580 of 661 strings)
Translated using Weblate (Bengali (India))
Currently translated at 45.9% (304 of 661 strings)
Translated using Weblate (Filipino)
Currently translated at 34.9% (231 of 661 strings)
Translated using Weblate (Danish)
Currently translated at 97.5% (645 of 661 strings)
Translated using Weblate (Galician)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Belarusian)
Currently translated at 91.2% (603 of 661 strings)
Translated using Weblate (Belarusian)
Currently translated at 91.2% (603 of 661 strings)
Translated using Weblate (Estonian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Albanian)
Currently translated at 83.9% (555 of 661 strings)
Translated using Weblate (Dutch (Belgium))
Currently translated at 85.3% (564 of 661 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Catalan)
Currently translated at 93.3% (617 of 661 strings)
Translated using Weblate (Bulgarian)
Currently translated at 68.9% (456 of 661 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Finnish)
Currently translated at 90.0% (595 of 661 strings)
Translated using Weblate (Croatian)
Currently translated at 96.2% (636 of 661 strings)
Translated using Weblate (Vietnamese)
Currently translated at 97.7% (646 of 661 strings)
Translated using Weblate (Hebrew)
Currently translated at 98.7% (653 of 661 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Asturian)
Currently translated at 71.5% (473 of 661 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Basque)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Dutch)
Currently translated at 98.3% (650 of 661 strings)
Translated using Weblate (French)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (German)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (English)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Korean)
Currently translated at 10.8% (8 of 74 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Belarusian)
Currently translated at 84.2% (557 of 661 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 95.9% (71 of 74 strings)
Translated using Weblate (Belarusian)
Currently translated at 78.9% (522 of 661 strings)
Translated using Weblate (Persian)
Currently translated at 99.3% (657 of 661 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Sardinian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Filipino)
Currently translated at 34.9% (231 of 661 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Basque)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (French)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Russian)
Currently translated at 89.1% (66 of 74 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Galician)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Estonian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Odia)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Sinhala)
Currently translated at 3.4% (23 of 661 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 64.8% (48 of 74 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Polish)
Currently translated at 60.8% (45 of 74 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (74 of 74 strings)
Translated using Weblate (Russian)
Currently translated at 78.3% (58 of 74 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 18.9% (14 of 74 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (661 of 661 strings)
Translated using Weblate (German)
Currently translated at 100.0% (661 of 661 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: Alexthegib <jcwkgxc@nightorb.com>
Co-authored-by: Alfred Makne Poulsen <alfred@omj.dk>
Co-authored-by: Cyndaquissshhh <iversonbriones123@gmail.com>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: GET100PERCENT <eraofphysics@yahoo.com>
Co-authored-by: Gontzal Manuel Pujana Onaindia <thadahdenyse@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Igor Rückert <igorruckert@yahoo.com.br>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Maday <royalcoolness7898@gmail.com>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Olivia Ng <uloo592@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: Ray <ray.cfu@protonmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Rui Martins <martins.ro@gmail.com>
Co-authored-by: SC <lalocas@protonmail.com>
Co-authored-by: Sean Minnaert <sean.minnaert@gmail.com>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Simon Nilsson <Observeramera@pm.me>
Co-authored-by: Subham Jena <subhamjena8465@gmail.com>
Co-authored-by: TXRdev Archive <lckphanaf9999@gmail.com>
Co-authored-by: Translator <kvb@tuta.io>
Co-authored-by: Vasilis K <skyhirules@gmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: WB <dln0@proton.me>
Co-authored-by: Xəyyam Qocayev <xxmn77@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: fincent <fincentpm@protonmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: jc <jcwkgxc@nightorb.com>
Co-authored-by: komiratsu192 <502badgateway@duck.com>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Co-authored-by: random r <epsilin@yopmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: tndsG <tharushtnds@gmail.com>
Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Co-authored-by: 모르것다 <jjs4809@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/az/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/es/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/eu/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/id/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ko/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_PT/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ru/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sv/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant_HK/
Translation: NewPipe/Metadata
This change makes the app using the behavior when there is no default browser
on Android 11 and lower, by opening a system chooser when there is no browser
available (on all Android versions).
Also catch any exception when the system chooser cannot be opened and show the
"No app on your device can open this" toast in this case, as an
`ActivityNotFoundException` could be thrown if no app is available to open a
given web link.