Page 1 of 1

video view content not aspect fill

Posted: 13 Apr 2014 20:23
by tzl
screenshot: http://imgur.com/W3ntQ18

I have created 2 views and each with an instance of VLCMediaPlayer

_mediaplayer = [[VLCMediaPlayer alloc] initWithOptions:@[@"--ipv4-timeout=30000",
@"--verbose=4",
@"--stats",
@"--rtsp-tcp"]];

_mediaplayer.drawable = video.videoView;


however one fills the view whereas the other does not. why? how do i force the content to aspect fill the videoview?

Re: video view content not aspect fill

Posted: 15 Apr 2014 15:11
by fkuehne
Check how VLC for iOS does it. The media player object does have an aspect ratio setter/getter…