totem r5377 - in trunk: . src/backend
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5377 - in trunk: . src/backend
- Date: Tue, 29 Apr 2008 17:27:06 +0100 (BST)
Author: hadess
Date: Tue Apr 29 16:27:06 2008
New Revision: 5377
URL: http://svn.gnome.org/viewvc/totem?rev=5377&view=rev
Log:
2008-04-29 Bastien Nocera <hadess hadess net>
* src/backend/bacon-video-widget-xine.c
(bacon_video_widget_open_with_subtitle):
Try to get a local filename when possible, as there's no gio input
plugin for xine-lib (Closes: #528763)
Modified:
trunk/ChangeLog
trunk/src/backend/bacon-video-widget-xine.c
Modified: trunk/src/backend/bacon-video-widget-xine.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-xine.c (original)
+++ trunk/src/backend/bacon-video-widget-xine.c Tue Apr 29 16:27:06 2008
@@ -2443,7 +2443,14 @@
/* Handle "icyx://" URLs from Orban/Coding Technologies AAC/aacPlus Player */
bvw->com->mrl = g_strdup_printf ("http:%s", mrl + 5);
} else {
- bvw->com->mrl = g_strdup (mrl);
+ GFile *file;
+
+ file = g_file_new_for_commandline_arg (mrl);
+ bvw->com->mrl = g_file_get_path (file);
+ g_object_unref (file);
+
+ if (bvw->com->mrl == NULL)
+ bvw->com->mrl = g_strdup (mrl);
}
if (g_str_has_prefix (mrl, "fd://") != FALSE) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]