Commit c6b2a577 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix inversion in libvlc_video_get_size()

parent 70ed88a9
......@@ -162,8 +162,9 @@ int libvlc_video_get_size( libvlc_media_player_t *p_mi, unsigned num,
if (p_vout == NULL)
return -1;
*px = p_vout->i_window_height;
*py = p_vout->i_window_width;
#warning Not thread-safe!
*px = p_vout->i_window_width;
*py = p_vout->i_window_height;
vlc_object_release (p_vout);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment