VLC 2.1.7 onNewVideoLayout arguments always 0
Hello guys, I have compiled the version 2.1.7 of the project. I am using libvlc in my android app. This is part of my code:
final IVLCVout vout = mMediaPlayer.getVLCVout();
vout.setVideoView(mSurface);
vout.addCallback(this);
vout.attachViews(this);
In attachViews I pass this, as my activity is implementing IVLCVout.OnNewVideoLayoutListener interface. The thing is that the method from the interface is only called once, and in there, all parameters are 0.
I don't know if this is related to the other issue I have. I am streaming between 2 android phones. When the server and client (that runs libvlc) go to landscape mode, the content is really small in the client. In previous versions I didn't have to do anything and it would stretch to fit the whole screen. If I try with a video from a local ffserver instance, this is stretched when the client goes into landscape mode.
Any suggestions?
Thanks.