From 3c6ffd36bc58c05875957a509117c3136511d0d7 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 9 May 2012 17:02:31 +0200 Subject: use only filenames instead of URIs when working with the VLC player * under windows, "C:\..." paths are constructed for the quickopen-menu, they are not accepted by libvlc_media_new_location() * support both loading filenames and URIs --- lib/gtk-vlc-player/gtk-vlc-player.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/gtk-vlc-player/gtk-vlc-player.h') diff --git a/lib/gtk-vlc-player/gtk-vlc-player.h b/lib/gtk-vlc-player/gtk-vlc-player.h index 665f980..969aa6d 100644 --- a/lib/gtk-vlc-player/gtk-vlc-player.h +++ b/lib/gtk-vlc-player/gtk-vlc-player.h @@ -50,7 +50,9 @@ GType gtk_vlc_player_get_type(void); * API */ GtkWidget *gtk_vlc_player_new(void); -gboolean gtk_vlc_player_load(GtkVlcPlayer *player, const gchar *uri); + +gboolean gtk_vlc_player_load_filename(GtkVlcPlayer *player, const gchar *file); +gboolean gtk_vlc_player_load_uri(GtkVlcPlayer *player, const gchar *uri); void gtk_vlc_player_play(GtkVlcPlayer *player); void gtk_vlc_player_pause(GtkVlcPlayer *player); -- cgit v1.2.3