[mythtv] [Patch] Small patch to export framecount in NuppelVideoPlayer

Michael Hanselmann mythtv at infotech.li
Fri Mar 5 05:49:31 EST 2004


Hello

I attached a small patch which exports the framecount via GetFrames() in 
NuppelVideoPlayer. If it's ok, could someone please commit it into cvs?

Are there somewhere instructions how to submit patches the right way? 
Hopefully, this one isn't too wrong. ;)

Greets
Michael
-------------- next part --------------
Index: libs/libmythtv/NuppelVideoPlayer.h
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/NuppelVideoPlayer.h,v
retrieving revision 1.139
diff -u -4 -r1.139 NuppelVideoPlayer.h
--- libs/libmythtv/NuppelVideoPlayer.h  19 Feb 2004 08:26:03 -0000      1.139
+++ libs/libmythtv/NuppelVideoPlayer.h  5 Mar 2004 10:38:37 -0000
@@ -102,8 +102,10 @@
     char *GetScreenGrab(int secondsin, int &buflen, int &vw, int &vh);

     void SetLength(int len) { totalLength = len; }
     int GetLength(void) { return totalLength; }
+
+    long long GetFrames(void) { return totalFrames; }

     QString GetEncodingType(void);
     void SetAudioOutput (AudioOutput *ao) { audioOutput = ao; }
     void FlushTxtBuffers(void) { rtxt = wtxt; }



More information about the mythtv-dev mailing list