libVLC - TS stream wrong aspect ratio (doesn't work in VLC either)
Hi, I am trying to use the libVlc sdk part from this repo in order to play video in my app. It's MPEG2 TS video stream and when I try to play it, it has wrong aspect ratio as the SAR values I am getting are always 1 (sarNum, sarDen) so then the calculated aspect ratio is incorrect (5:4 instead of 16:9). When I try to play the same video in VLC for Android it's correct, but when I compile VLC for Android, it's wrong too.
Note: I use the onNewLayout() callback to update the layout of video and calculate correct aspect ratio and video size
I found another testing video which has the same problem as my local stream here: http://dveo.com/downloads/TS-sample-files/San_Diego_Clip.ts
Thanks for any help
EDIT: If I compile VLC for Android 2.1.0 it doesn't work eighter