summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-11-24 00:36:50 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-11-24 00:36:50 +0800
commit89dd9d363f5504669ae45a65dbdfccfc3ff79bc8 (patch)
treec626fe8df22ab4758d23eba67ef9a361239101dc /multimedia
parent88c3309b4e2b6f4a413704e7b93ede0b6b51b63e (diff)
downloadmarcuscom-ports-89dd9d363f5504669ae45a65dbdfccfc3ff79bc8.tar.gz
marcuscom-ports-89dd9d363f5504669ae45a65dbdfccfc3ff79bc8.tar.zst
marcuscom-ports-89dd9d363f5504669ae45a65dbdfccfc3ff79bc8.zip
Fix quvi support.
Obtained from: totem-pl-parse git git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16601 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser-videosite.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser-videosite.c b/multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser-videosite.c
new file mode 100644
index 000000000..d8b9c69a8
--- /dev/null
+++ b/multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser-videosite.c
@@ -0,0 +1,22 @@
+--- plparse/totem-pl-parser-videosite.c.orig 2011-11-23 17:32:50.000000000 +0100
++++ plparse/totem-pl-parser-videosite.c 2011-11-23 17:33:51.000000000 +0100
+@@ -75,7 +75,7 @@ totem_pl_parser_add_videosite (TotemPlPa
+ #ifdef HAVE_QUVI
+ QUVIcode rc;
+ quvi_t handle;
+- quvi_video_t v;
++ quvi_media_t v;
+ char *uri;
+ /* properties */
+ const char *video_uri;
+@@ -104,8 +104,8 @@ totem_pl_parser_add_videosite (TotemPlPa
+ return TOTEM_PL_PARSER_RESULT_ERROR;
+ }
+
+- getprop (QUVIPROP_VIDEOURL, video_uri);
+- if (quvi_getprop (v, QUVIPROP_VIDEOFILELENGTH, &length) == QUVI_OK)
++ getprop (QUVIPROP_MEDIAURL, video_uri);
++ if (quvi_getprop (v, QUVIPROP_MEDIACONTENTLENGTH, &length) == QUVI_OK)
+ length_str = g_strdup_printf ("%f", length);
+ else
+ length_str = NULL;