[mythtv-commits] Ticket #151: [PATCH] RingBuffer.h

MythTV mythtv at cvs.mythtv.org
Fri Jul 22 18:28:15 EDT 2005


#151: [PATCH] RingBuffer.h
--------------------+-------------------------------------------------------
       Id:  151     |      Status:  new                     
Component:  mythtv  |    Modified:  Fri Jul 22 22:28:15 2005
 Severity:  high    |   Milestone:                          
 Priority:  major   |     Version:                          
    Owner:  ijr     |    Reporter:  myth-dev at tommywatson.com
--------------------+-------------------------------------------------------
 I'm not 100% sure if this is the correct fix, but it fixes the compilation
 error now the inline method seems to have been moved to the .cpp file.

 {{{


 Index: RingBuffer.h
 ===================================================================
 --- RingBuffer.h        (revision 6903)
 +++ RingBuffer.h        (working copy)
 @@ -23,11 +23,8 @@
                 RemoteEncoder *enc = NULL);

     ~RingBuffer();
 -#ifdef HAVE_DVDNAV
 +
      bool IsOpen(void);
 -#else
 -    bool IsOpen(void) { return (tfw || fd2 > -1 || remotefile); }
 -#endif

      int Read(void *buf, int count);
      int Write(const void *buf, int count);


 }}}

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/151>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list