openbsd-ports/audio/rhythmbox/patches/patch-plugins_audioscrobbler_rb-lastfm-gst-src_c
jasper df69ad49b4 - update rhythmbox to 0.10.1 (makes it work again)
- use the updated gstreamer framework
- re-word DESCR
- misc. tweaks to Makefile

ok ajacoutot@
2008-05-14 09:41:56 +00:00

13 lines
509 B
Plaintext

$OpenBSD: patch-plugins_audioscrobbler_rb-lastfm-gst-src_c,v 1.1 2008/05/14 09:41:56 jasper Exp $
--- plugins/audioscrobbler/rb-lastfm-gst-src.c.orig Sat Feb 24 16:27:46 2007
+++ plugins/audioscrobbler/rb-lastfm-gst-src.c Tue May 13 12:22:47 2008
@@ -107,7 +107,7 @@ rb_lastfm_src_pad_probe_cb (GstPad *pad, GstBuffer *bu
char *s;
static char sync[5] = "SYNC";
- s = memmem (data, GST_BUFFER_SIZE (buffer), sync, 4);
+ s = strstr (data, sync);
if (s != NULL) {
GstMessage *msg;
GstStructure *s;