-
-
Notifications
You must be signed in to change notification settings - Fork 330
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: Subtitles placed incorrectly on the top of the video #1079
Comments
An additional fix for subtitles was made a few days ago, and was just released today as 2.171.0 Try again using the latest release. |
I patched just now using 2.171.0. This issue is still there, but it seems that this issue only affects the first video. Once you watched another video, the subtitle position returns to the bottom. Watch the first video again and the subtitles are normal again. Steps to reporduce:
|
Post links to the videos you used, or post a screen recorder video showing the problem. The subtitles are always correct for me (even after force stopping and relaunching) |
While I am here, do you want some kind of debug log? I have adb access to that device. I don't know what I should grep for tho. |
I was able to reproduce, and the subtitles did appear in the wrong location. It appears that sometimes when the video first starts, YouTube sends a single non default subtitle position in the subtitle stream, and this triggers the logic used to fix: #1975
|
I see two possibly actions:
For now I think option 1 is the best to try. |
Or use both the first and the second call to determine if the fix was needed? If the first call is non-standard then check the second call as well. Wouldn't option 1 cause the first subtitle line to be dropped/hidden/cause undocumented behaviours? |
Option 1 does the check first and second subtitle behavior you are describing. The subtitles are a stream during the video playback, and each subtitle text has it's own position. The fix I am describing, is a change to the 'pass thru mode' that was added in 1975. It would enable pass thru mode (do not alter the subtitle window position), only if more than 1 non default subtitle position is encountered. |
Fixed with ReVanced/revanced-integrations#374 Either use the dev branch, or (for now) ignore the incorrect subtitle position for the first video opened after app launch. |
@LisoUseInAIKyrios Do you also contribute in the RV manager project? It would be nice to be able to use the dev channel on manager. Edit: Ah it might not be that easy. RVM probably gets the patches from
Or RVM can get the changes from github's API directly...? |
I agree it would be awesome if the manager could use the dev release. But no, I don't contribute much to the manager (not familiar with the Flutter language it uses). Could open a feature request in the manager repo, as I don't think there is a request for that just yet. |
Moving to ReVanced/revanced-patches-template#1256 |
# [2.114.0](ReVanced/revanced-patches@v2.113.0...v2.114.0) (2022-11-20) ### Features * **youtube:** `disable-zoom-haptics` patch ([ReVanced#1079](ReVanced/revanced-patches#1079)) ([a7cfba5](ReVanced/revanced-patches@0c98120))
Type
Cosmetic
Bug description
Subtitles in reVanced are placed on top of the video instead of at the bottom as they should.
![Screenshot_20230428_063027_YouTube](https://user-images.githubusercontent.com/30195961/235055624-2bfcb52b-5996-4779-b62e-083d7fa0f358.jpg)
![Screenshot_20230428_063013_YouTube](https://user-images.githubusercontent.com/30195961/235055691-38a70d38-96ae-4ff8-baaa-fb2d079a5885.jpg)
Link to the video: https://youtu.be/HTnQRV_L32c
ReVanced
Stock Youtube:
Steps to reproduce
~
Relevant log output
~
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: