Trackselection layout issue on mkv files with many tracks
Minimal project and steps to reproduce
- Take the official mediaplayerelement sample project
- Update LibVLCSharp
- Change url in MainViewModel to
https://files.catbox.moe/z35nqz.mkv
(snippet with 9 subtitle tracks) - Run debug on android
What is the current bug behavior?
Subtitle Tracks and Video Tracks are not being shown in the trackselection
What is the expected correct behavior?
Every track should be visible and selectable
Does it work on other plaforms? Does it work with the official VLC apps?
Works on both the official PC Client and the official VLC Android App. Not surprising considering the old track selection had no such problem.
Relevant logs and/or screenshots
This is my output in visualstudio
Click to expand
Loaded assembly: data-0x7a1817dd80 [External]
Loaded assembly: data-0x7a18190e40 [External]
Loaded assembly: data-0x7a181a0b00 [External]
Loaded assembly: data-0x7a181b5f40 [External]
Loaded assembly: data-0x7a181eef00 [External]
Loaded assembly: /data/data/com.companyname.MediaElement/files/.__override__/netstandard.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:405 [0x00000].
Loaded assembly: /data/data/com.companyname.MediaElement/files/.__override__/System.Core.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:400 [0x00000].
[me.MediaElemen] Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
[me.MediaElemen] Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
Thread started: #2
Thread started: #3
Thread started: #4
Loaded assembly: /data/data/com.companyname.MediaElement/files/.__override__/System.Runtime.Serialization.dll [External]
Loaded assembly: /data/data/com.companyname.MediaElement/files/.__override__/System.Xml.dll [External]
Loaded assembly: /data/data/com.companyname.MediaElement/files/.__override__/System.ServiceModel.Internals.dll [External]
Loaded assembly: /data/data/com.companyname.MediaElement/files/.__override__/System.Drawing.Common.dll [External]
[0:] Binding: 'Content' property not found on 'LibVLCSharp.Forms.Shared.PlaybackControls', target property: 'Xamarin.Forms.ContentPresenter.Content'
[0:] Binding: 'Content' property not found on 'LibVLCSharp.Forms.Shared.PlaybackControls', target property: 'Xamarin.Forms.ContentPresenter.Content'
Thread started: #5
Thread started: #6
[mali_winsys] new_window_surface() [1440x2960] return: 0x3000
[Gralloc3] mapper 3.x is not supported
[gralloc] Arm Module v1.0
Thread started: <Thread Pool> #7
Thread started: <Thread Pool> #8
Thread started: <Thread Pool> #9
Thread started: <Thread Pool> #10
Thread started: <Thread Pool> #11
Thread started: <Thread Pool> #12
Thread started: <Thread Pool> #13
Thread started: <Thread Pool> #14
Thread started: <Thread Pool> #15
Thread started: <Thread Pool> #16
Thread started: <Thread Pool> #17
Thread started: <Thread Pool> #18
Thread started: <Thread Pool> #19
[me.MediaElemen] Explicit concurrent copying GC freed 4075(545KB) AllocSpace objects, 0(0B) LOS objects, 75% free, 2047KB/8191KB, paused 24us total 8.513ms
Thread started: <Thread Pool> #20
[VLC] [00000079affe8b90/3c76] http stream: local stream 1 error: Cancellation (0x8)
[VLC] [00000079affe8b90/3c76] http stream: local stream 5 error: Cancellation (0x8)
[VLC] [00000079affe8b90/3c76] http stream: local stream 7 error: Cancellation (0x8)
[AudioCapabilities] Unsupported mime audio/mpeg-L1
[AudioCapabilities] Unsupported mime audio/mpeg-L2
[VideoCapabilities] Unrecognized profile/level 1/32 for video/mp4v-es
[VideoCapabilities] Unrecognized profile/level 32768/2 for video/mp4v-es
[VideoCapabilities] Unrecognized profile/level 32768/64 for video/mp4v-es
[VLC] [0000007996d2df10/3c98] libvlc window: request 1 not implemented
[VLC] [0000007996d2df10/3c98] libvlc window: request 1 not implemented
[mali_winsys] new_window_surface() [1440x2879] return: 0x3000
[VLC] [0000007996d2df10/3c98] libvlc window: request 0 not implemented
[VLC] [0000007996d2df10/3c98] libvlc window: request 0 not implemented
[VLC] [0000007996d2df10/3c98] libvlc window: request 1 not implemented
[OMXClient] IOmx service obtained
[SurfaceUtils] connecting to surface 0x7996f1c010, reason connectToSurface
[MediaCodec] [OMX.Exynos.hevc.dec] setting surface generation to 15552513
[SurfaceUtils] disconnecting from surface 0x7996f1c010, reason connectToSurface(reconnect)
[SurfaceUtils] connecting to surface 0x7996f1c010, reason connectToSurface(reconnect)
[SurfaceUtils] set up nativeWindow 0x7996f1c010 for 1920x1080, color 0x105, rotation 0, usage 0x402900
[VLC] [0000007996d2df10/3c98] libvlc window: request 1 not implemented
[Gralloc3] allocator 3.x is not supported
[SurfaceUtils] set up nativeWindow 0x7996f1c010 for 1920x1080, color 0x125, rotation 0, usage 0x402900
[VLC] [0000007996cc4290/3ca6] libvlc decoder: output: 293 unknown, 1920x1080 stride 1920 1080, crop 0 0 0 0
[AudioTrack] Use of stream types is deprecated for operations other than volume control
[AudioTrack] See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
[VLC] [0000007996d2df10/3c98] libvlc window: request 1 not implemented
[VLC] [0000007996d2df10/3c98] libvlc window: request 3 not implemented
Thread started: <Thread Pool> #21
Thread started: <Thread Pool> #22
[me.MediaElemen] Explicit concurrent copying GC freed 7453(1735KB) AllocSpace objects, 0(0B) LOS objects, 67% free, 2910KB/9054KB, paused 30us total 12.263ms
[VLC] [0000007996d2df10/3c98] libvlc window: request 1 not implemented
[VLC] [0000007996cc4290/3ca7] libvlc decoder: Decoder is draining
Environment
- OS: Android
- Version 10
- Device: Galaxy S9 (LineageOS)
- LibVLCSharp version: latest as of posting this