From 89dd9d363f5504669ae45a65dbdfccfc3ff79bc8 Mon Sep 17 00:00:00 2001 From: kwm Date: Wed, 23 Nov 2011 16:36:50 +0000 Subject: 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 --- .../patch-plparse_totem-pl-parser-videosite.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser-videosite.c (limited to 'multimedia') 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; -- cgit