Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: mplayercluster plugin



Also sprach Gernot A. Weber zu "26.11.2003 12:47" Anno Domini:
> Hi,
> 
> I just wondered, whether the mplayercluster-plugin is still under
> development. Unfortunately it doesn't compile under vdr-1.2.5 or
> vdr-1.2.6 and I don't want to invent the wheel twice :))
> 

Hi,

the attached small patch makes the plugin compile under vdr-1.2.5 and
vdr-1.2.6. Just apply it by

cd <vdr-dir>/PLUGINS/src/mplayercluster/
patch -p 1 < <path-to>/mplayercluster-0.0.1a-vdr-1.2.5_and_higher.diff

@developers:

I don't think that the cost_cast introduced with the patch is a good
programming style, but I don't have the time at the moment to understand
 the complete code for a better fix. At least, the patched version works
properly for me.
-- 
Patrick Cernko | mailto:errror@errror.de | http://www.errror.de
Quote of the Week: "/vmlinuz does not exist.
                    Installing from scratch, eh?"
                   (Debian Kernel Installation)
diff -ru mplayercluster-0.0.1a.orig/player.c mplayercluster-0.0.1a/player.c
--- mplayercluster-0.0.1a.orig/player.c	2003-02-15 19:31:41.000000000 +0100
+++ mplayercluster-0.0.1a/player.c	2003-11-26 13:53:23.000000000 +0100
@@ -159,7 +159,7 @@
 				}
 			}
 			if (pc == 0) {
-				ringBuffer->Drop(playFrame);
+				ringBuffer->Drop(const_cast<cFrame*>(playFrame));
 				playFrame = NULL;
 				p = 0;
 #ifdef DEBUG_STREAMC

Attachment: pgp00013.pgp
Description: PGP signature


Home | Main Index | Thread Index