a while ago I posted a bug report in VLCKit (https://code.videolan.org/videolan/VLCKit/issues/180).
During playback of a Live-TV stream that changes the VAR (Video Aspect Ratio) from 16:9 to 4:3 and back to 16:9, the switch to 4:3 is done (you get the black bars on the sides), but when the stream switches back to 16:9 the VAR shown does not change - it continues playback in 4:3.
Now I just wanted to add the option in my App to force playback to either 16:9 or 4:3 (some stations send their stream with wrong VAR info - a user of my App from China pointed me to that). So I used [mediaplayer setVideAspectRatio:"x:x"] of VLCKit to set the VAR to be used while playback.
There I found, that I can switch to "4:3", but then I can't switch back to "16:9" or NULL (auto) - the value is accepted, but the change does not have any effect.
I tried with todays nightly and debug log prompted me:
Code: Select all
:19:17:12:MoviePlayerViewContr:1325: aspect: (null) --> 4:3
2019-04-11 19:17:12.071741+0200 vuplusTV[458:43109] VoutDisplayEvent 'resize' 1440x1080
2019-04-11 19:17:12.072495+0200 vuplusTV[458:43007] VoutDisplayEvent 'resize' 1920x1080
2019-04-11 19:17:12.076691+0200 vuplusTV[458:43007] VoutDisplayEvent 'resize' 1920x1080
:19:17:17:MoviePlayerViewContr:1325: aspect: 4:3 --> (null)
2019-04-11 19:17:17.922541+0200 vuplusTV[458:43109] VoutDisplayEvent 'resize' 1920x1080
:19:17:28:MoviePlayerViewContr:1325: aspect: (null) --> (null)
2019-04-11 19:17:28.032507+0200 vuplusTV[458:43109] VoutDisplayEvent 'resize' 1920x1080
:19:17:33:MoviePlayerViewContr:1325: aspect: (null) --> 16:9
:19:17:35:MoviePlayerViewContr:1325: aspect: 16:9 --> 4:3
2019-04-11 19:17:35.313281+0200 vuplusTV[458:43109] VoutDisplayEvent 'resize' 1440x1080
2019-04-11 19:17:35.314459+0200 vuplusTV[458:43007] VoutDisplayEvent 'resize' 1920x1080
2019-04-11 19:17:35.315882+0200 vuplusTV[458:43007] VoutDisplayEvent 'resize' 1920x1080
:19:17:56:MoviePlayerViewContr:1325: aspect: 4:3 --> (null)
2019-04-11 19:17:56.353231+0200 vuplusTV[458:43109] VoutDisplayEvent 'resize' 1920x1080
Can you fix this issue and then make sure it gets adopted in VLCKit soon?