diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-09 17:02:31 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-09 17:02:31 +0200 |
commit | 3c6ffd36bc58c05875957a509117c3136511d0d7 (patch) | |
tree | eeec23a3dd4f2811a3c3dc3f5af6ecd914a71132 /lib/gtk-vlc-player/gtk-vlc-player.h | |
parent | 0a6869f2d4bfd639fac3c62953b3d2274bcedae9 (diff) | |
download | experiment-player-3c6ffd36bc58c05875957a509117c3136511d0d7.tar.gz |
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
Diffstat (limited to 'lib/gtk-vlc-player/gtk-vlc-player.h')
-rw-r--r-- | lib/gtk-vlc-player/gtk-vlc-player.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |