Package: src:totem-pl-parser
Version: 2.32.6-1
Severity: important
Tags: upstream patch

Hi,

totem-pl-parser needs a small patch in order to build with libquvi-0.4
(currently in experimental).  The package still builds with the old
version of libquvi as well.

Regards,
Ansgar
From: Ansgar Burchardt <[email protected]>
Date: Sat, 10 Dec 2011 20:45:13 +0100
Subject: Build with libquvi 0.4.

--- totem-pl-parser-2.32.6.orig/plparse/totem-pl-parser-videosite.c
+++ totem-pl-parser-2.32.6/plparse/totem-pl-parser-videosite.c
@@ -75,7 +75,7 @@
 #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 @@
 		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;

Reply via email to