Unexpected video_update_viewpoint behavior
I have noticed different behavior when using the video_update_viewpoint() function on a mediaplayer spawned from a specifically created instance vs a directly spawned media player.
for example:
import vlc
p = vlc.MediaPlayer('V1.mp4')
p.play()
v = vlc.libvlc_video_new_viewpoint()
p.video_update_viewpoint(v,True)
while p.get_state() !=6:
continue
Produces a video with a viewpoint altered from the default (though I am still unclear how to control it).
Whereas:
import vlc
i = vlc.Instance()
p = i.media_player_new()
m = i.media_new('V1.mp4')
m.get_mrl()
p.set_media(m)
v = vlc.libvlc_video_new_viewpoint()
p.video_update_viewpoint(v,True)
p.play()
while p.get_state() != 6:
continue
Plays with the default viewpoint().
Is it correct to expect these two approaches to produce the same result?
Just fixed the code I posted above -- should now show the bug.
Could you try again with the #50 bug now fixed?
Unfortunately it still does not produce the correct behavior. The viewpoint remains unaltered.