Commit 031256f2 authored by littlejohn's avatar littlejohn
Browse files

new (failing) test for ticket #1527 added

parent 34ab57aa
......@@ -110,4 +110,19 @@ public class MediaListPlayerTest
Assert.assertEquals(1, exception.raised);
}
// @Test
/**
* disabled: see https://trac.videolan.org/vlc/attachment/ticket/1527
*/
public void mediaListPlayerPlay()
{
libvlc_exception_t exception = new libvlc_exception_t();
LibVlcMediaListPlayer mediaListPlayer = libvlc.libvlc_media_list_player_new(libvlcInstance, exception);
LibVlcMediaList mediaList = libvlc.libvlc_media_list_new(libvlcInstance, exception);
LibVlcMediaDescriptor mediaDescriptor = libvlc.libvlc_media_descriptor_new(libvlcInstance, mrl, exception);
libvlc.libvlc_media_list_add_media_descriptor(mediaList, mediaDescriptor, exception);
libvlc.libvlc_media_list_player_set_media_list(mediaListPlayer, mediaList, exception);
libvlc.libvlc_media_list_player_play(mediaListPlayer, exception);
}
}
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