Mailing List archive

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

[vdr] Re: compile error for bitstreamout-0.48



On Wed, Dec 17, 2003 at 12:21:21AM +0100, Thomas Schmidt wrote:
> Hi
> 
> I get exactly the same errors here, when i try to build bitstreamout
> 0.48 with a vdr that has the autopid-patch - without autopid,
> bitstreamout 0.48 compiles fine.
> 
> Unfortunately bitstreamout 0.48pre8 builds fine, even with autopid, 
> so i guess the cause must be a change between 0.48pre8 and 0.48.

Try the following patch:

---------------------------------------------------------------------------
--- bytes.h
+++ bytes.h	2003-12-15 17:12:21.000000000 +0100
@@ -77,8 +77,8 @@
     inline const uint_8* operator ()(const size_t& o) { return check(o) ? curr : NULL; }
     inline const size_t len(void) { check(0); return avail; };
     inline const size_t Offset(void) const { return offset; };
-#   define foreach(handle)	try { while ((handle))
-#   define test(handle)		try { if((handle))
-#   define end(handle)		} catch (cExeption& ex) { if (ex.reason != 1) throw; }
+#   define FOREACH(handle)	try { while ((handle))
+#   define TEST(handle)		try { if((handle))
+#   define END(handle)		} catch (cExeption& ex) { if (ex.reason != 1) throw; }
 };
 #endif // __BYTES_H
---------------------------------------------------------------------------

which should fix that problem.  Sorry for the delay with the new
bitstreamout plugin .... it seems that replay of recordings from
Pro7 have trouble with A/V sync after pausing.   The problem is
that the plugin has to clear the hw buffer of the soundcard and
its own ringbuffer.  After continuing the audio is to late even
with including the offset calucated from the STC/PTS.


     Werner


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index