diff options
author | Koop Mast <kwm@FreeBSD.org> | 2011-10-23 15:06:30 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2011-10-23 15:06:30 +0000 |
commit | 94f5af09382b9f7303a39650f17ab30d6d760818 (patch) | |
tree | 8b6f45ff1ca63c357328103f00d3684a109bf9ec /multimedia/totem-pl-parser/files | |
parent | - Update to 1.8.3. (diff) |
Fix the build when libquvi is installed. [1]
Add optional depend on libquvi.
PR: ports/161909 [1]
Submitted by: Kurt Jaeger <fbsd-ports@opsec.eu>
Notes
Notes:
svn path=/head/; revision=284178
Diffstat (limited to 'multimedia/totem-pl-parser/files')
-rw-r--r-- | multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser-videosite.c | 27 |
1 files changed, 27 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 000000000000..ab53dc858e24 --- /dev/null +++ b/multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser-videosite.c @@ -0,0 +1,27 @@ +--- plparse/totem-pl-parser-videosite.c.orig 2010-12-14 15:39:59.000000000 +0100 ++++ plparse/totem-pl-parser-videosite.c 2011-10-22 22:45:40.317902126 +0200 +@@ -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; +@@ -100,13 +100,13 @@ + 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; + getprop (QUVIPROP_PAGETITLE, title); +- getprop (QUVIPROP_VIDEOID, id); ++ getprop (QUVIPROP_MEDIAID, id); + getprop (QUVIPROP_PAGEURL, page_uri); + getprop (QUVIPROP_STARTTIME, starttime);
\ No newline at end of file |