diff loader/dshow/libwin32.h @ 1555:076c27342828

Start/Stop state flag fixed - requires for brightness/contrast/etc stuff...
author arpi
date Thu, 16 Aug 2001 15:41:03 +0000
parents da26060c81ef
children 261f5fd2c909
line wrap: on
line diff
--- a/loader/dshow/libwin32.h	Thu Aug 16 15:36:12 2001 +0000
+++ b/loader/dshow/libwin32.h	Thu Aug 16 15:41:03 2001 +0000
@@ -279,8 +279,8 @@
     virtual ~IVideoDecoder(){};
     virtual void StartInternal()=0;
     virtual void StopInternal()=0;
-    void Stop(){ StopInternal();}
-    void Start(){StartInternal();}
+    void Stop(){ StopInternal();  m_State = STOP;}
+    void Start(){StartInternal(); m_State = START;}
 
     const CodecInfo& record;
     DecodingMode m_Mode;	// should we do precaching (or even change Quality on the fly)