-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(youtube): swipe brightness control on HDR videos are acting funky #1965
Comments
Works perfectly on MIUI 13.0.4 POCO F3. |
Strange, I am also on MIUI 13.0.5 Amdroid 12 POCO X4 GT @its0x08 did you enable HDR auto brightness under settings > revanced > miscellaneous ? |
I just confirmed that the video you mentioned makes YouTube works weird! I answered above based on other hdr videos 🤔 |
Yes I did. The thing is that I tested it using another video mot the one mentioned on the issue. Now I see that the same problem exists on POCO F3 MIUI 13.0.4 Android 12 |
@its0x08 I have edited the top comment for 2 more videos that I have experienced the same issue. could you check those as well? the last one use VP9 codec if that matters, but I still get the funky swipe ctrls, even if my hands are way off the light sensor. Could you send the vid that u used 4 testing? |
I confirm that with all three YouTube behaves the same. |
As requested in #745 (comment), I reproduced this on LG V30 running Android 9. I can only reproduce it to a certain extent:
I used current recommended YT, cli v2.14.0, patches v2.81.10 and integrations v0.51.0 I hope I was able to help you out. |
New Findings: This behaviour exists no matter "Enable HDR auto brightness" under settings > misc is enabled or disabled. I have cleared the app from recent tasks before repeating the test. I did not need to click the gear icon to have this funky brightness swipe |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
As of |
I tried patching without the HDR patch and even then this problems persists even though there is no option related to HDR in the settings. |
HDR automatically adjusts brightness, not sure if this a bug |
It should only do so when swipe brightness control was set to auto. |
Isn't HDR controlled by the device? |
I dont really know. Why does that even matter anyway? It is counter-intuitive that the swipe-brightness-control overrides system brightness in all videos except HDR ones. Swipe brightness controls serves as a override to the brightness, and so should HDR content too. Even if that is not achievable, the scroll action should provide feedback to the user by locking the controls at auto, instead of seemingly scrolling but snapping back causing confusion. Edit: the problem is that the swipe brightness controls does work, if you act quickly and dont hold on the screen longer than a tap. If you holded longer than roughly 300ms it snaps to auto brightness again. I managed to set the brightness to 1% actually. The solution would be to disable HDR auto brightness when there is a swipe in left zone, handle the brightness change, then only enable it back on whenthe brightness is set to auto or exit fullscreen/video |
Why was this issue closed without any clarification? Has it been resolved? |
@SodaWithoutSparkles HDR overrides brightness. If you have HDR enabled, brightness controls won't work because HDR should be controlled by the device which is why it matters. |
But it does work, at least on my device. Maybe I should get another device to physically record it. |
Thats the issue. Some people would like to watch videos that are only available in HDR in their beds w/o blinding themselves. |
Swipe gestures is not supposed to override HDR settings in any way. For this, another patch can be made. Can you change the brightness from your phone when watching HDR? |
Yes, both from the quick settings menu and with quick swipes in the video player. |
Then the patch is broken, open an issue |
@oSumAtrIX I see that it works fine with other's patches, i see no reason why not to approach this in the same way they did? cap.mp4 |
# [2.171.0-dev.2](ReVanced/revanced-patches@v2.171.0-dev.1...v2.171.0-dev.2) (2023-04-25) ### Features * **youtube:** `hide-player-overlay` patch ([ReVanced#1965](ReVanced/revanced-patches#1965)) ([d233d96](ReVanced/revanced-patches@8c79cdb))
# [2.171.0](ReVanced/revanced-patches@v2.170.0...v2.171.0) (2023-04-27) ### Bug Fixes * **enable-android-debugging:** make option `debuggable` false by default ([e717e26](ReVanced/revanced-patches@7864869)) * **youtube/minimized-playback:** disable minimized playback for shorts ([ReVanced#1990](ReVanced/revanced-patches#1990)) ([b91d18d](ReVanced/revanced-patches@bd69f96)) * **youtube/spoof-signature-verification:** additional fixes for subtitle window positions ([ReVanced#1975](ReVanced/revanced-patches#1975)) ([08584e6](ReVanced/revanced-patches@11fcc18)) ### Features * **id-austria:** remove compatibility version constraint ([ReVanced#1952](ReVanced/revanced-patches#1952)) ([94ffd5a](ReVanced/revanced-patches@e1fe115)) * **youtube/sponsorblock:** automatically hide skip button ([ReVanced#1956](ReVanced/revanced-patches#1956)) ([c3c8ae6](ReVanced/revanced-patches@310516a)) * **youtube:** `hide-player-overlay` patch ([ReVanced#1965](ReVanced/revanced-patches#1965)) ([d233d96](ReVanced/revanced-patches@8c79cdb))
Type
Error at runtime
Bug description
Swipe brightness is acting funky on HDR videos, possibly interfering with HDR auto brightness
Steps to reproduce
Relevant log output
Screenshots or videos
video resolution reduced for uploading, also muted
Screenrecorder-2022-10-09-20-12-27-791.0.mp4
Solution
Swipe brightness ctrl should be prioritized before HDR auto brightness.
Additional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: