Real Wiš'adel
129 subscribers
34 files
14 links
Download Telegram
==== ====

chore: temporarily disable OnBackInvokedCallback api

i don't have Android 16 devices for testing, so disable it.

Signed-off-by: qwq233 <qwq233@qwq2333.top>
==== ====

style: optimise id text display

Signed-off-by: qwq233 <qwq233@qwq2333.top>
1
==== ====

style: make idText centered

Signed-off-by: qwq233 <qwq233@qwq2333.top>
1
==== ====

chore(deps): bump org.eclipse.jgit:org.eclipse.jgit from 7.0.0.202409031743-r to 7.3.0.202506031305-r (#376)

chore(deps): bump org.eclipse.jgit:org.eclipse.jgit

Bumps [org.eclipse.jgit:org.eclipse.jgit](https://github.com/eclipse-jgit/jgit) from 7.0.0.202409031743-r to 7.3.0.202506031305-r.
- [Commits](https://github.com/eclipse-jgit/jgit/compare/v7.0.0.202409031743-r...v7.3.0.202506031305-r)

---
updated-dependencies:
- dependency-name: org.eclipse.jgit:org.eclipse.jgit
dependency-version: 7.3.0.202506031305-r
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Clef <qwq233@qwq2333.top>
1
==== ====

fix: use MediaMetadataRetriever as fallback for video rotation

FFmpeg's getVideoInfo only reads rotation from the 'rotate' metadata tag,
but modern videos (especially Dolby Vision) store rotation in display matrix.
This causes incorrect video dimensions when sending portrait videos.

- Add MediaMetadataRetriever fallback in createCompressionSettings()
- Add MediaMetadataRetriever fallback in PhotoViewer video loading
- Fix dimension calculation when cropState exists (use transformWidth/Height directly)
==== ====

fix: read video rotation from display matrix in native layer

Some videos (especially Dolby Vision and HEVC from modern phones) store
rotation in the display matrix instead of the 'rotate' metadata tag.
FFmpeg's getVideoInfo() only reads the 'rotate' tag, causing incorrect
dimensions for these videos.

Use av_packet_side_data_get() and av_display_rotation_get() from FFmpeg
to read rotation from AV_PKT_DATA_DISPLAYMATRIX as fallback when the
rotate tag is not present.