diff options
author | phintuka <phintuka> | 2009-08-18 12:36:56 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-08-18 12:36:56 +0000 |
commit | 1c0fbc15d923b265c33f9c95374efb24e33d3148 (patch) | |
tree | 0c8b3f4d1b1371f22c79d05d2a369ae6d6349907 /frontend_local.h | |
parent | 902c35a92047e5d4cc1255d7b0cd55faaf544de3 (diff) | |
download | xineliboutput-1c0fbc15d923b265c33f9c95374efb24e33d3148.tar.gz xineliboutput-1c0fbc15d923b265c33f9c95374efb24e33d3148.tar.bz2 |
Removed Stop(). Use cThread::Running() and cThread::Cancel().
Diffstat (limited to 'frontend_local.h')
-rw-r--r-- | frontend_local.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/frontend_local.h b/frontend_local.h index 1a44f3bd..2054ec51 100644 --- a/frontend_local.h +++ b/frontend_local.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_local.h,v 1.6 2008-11-18 15:06:12 phintuka Exp $ + * $Id: frontend_local.h,v 1.7 2009-08-18 12:36:56 phintuka Exp $ * */ @@ -19,20 +19,16 @@ extern "C" { typedef struct frontend_s frontend_t; } -class cXinelibLocal : public cXinelibThread +class cXinelibLocal : public cXinelibThread { public: cXinelibLocal(const char *frontend_name); virtual ~cXinelibLocal(); - // Thread control - virtual void Stop(void); - protected: virtual void Action(void); - public: // Data transfer @@ -44,12 +40,12 @@ class cXinelibLocal : public cXinelibThread virtual bool EndOfStreamReached(void); // Image grabbing - virtual uchar *GrabImage(int &Size, bool Jpeg, int Quality, + virtual uchar *GrabImage(int &Size, bool Jpeg, int Quality, int SizeX, int SizeY); // Configuration - virtual void ConfigureWindow(int fullscreen, int width, int height, - int modeswitch, const char *modeline, + virtual void ConfigureWindow(int fullscreen, int width, int height, + int modeswitch, const char *modeline, int aspect, int scale_video, int field_order); virtual void ConfigureDecoder(int pes_buffers); @@ -60,11 +56,11 @@ class cXinelibLocal : public cXinelibThread protected: - // Frontend access + // Frontend access frontend_t *load_frontend(const char *fe_name); // Data - void *h_fe_lib; + void *h_fe_lib; frontend_t *fe; cRwLock m_feLock; bool m_bReconfigRequest; |