diff options
author | 2001-08-16 15:41:03 +0000 | |
---|---|---|
committer | 2001-08-16 15:41:03 +0000 | |
commit | 3b78a789e04a64f2fa8a4b73b074d60659bb50b1 (patch) | |
tree | 74a4da57a243a5c7b667c140611af06264f1e082 /loader/dshow/DS_VideoDecoder.c | |
parent | e297a06ec9d8425773ffe31ff72d5075330f77e2 (diff) |
Start/Stop state flag fixed - requires for brightness/contrast/etc stuff...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1556 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow/DS_VideoDecoder.c')
-rw-r--r-- | loader/dshow/DS_VideoDecoder.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/loader/dshow/DS_VideoDecoder.c b/loader/dshow/DS_VideoDecoder.c index 83089f4ee8..cc757c6746 100644 --- a/loader/dshow/DS_VideoDecoder.c +++ b/loader/dshow/DS_VideoDecoder.c @@ -155,6 +155,8 @@ DS_VideoDecoder::DS_VideoDecoder(const CodecInfo& info, const BITMAPINFOHEADER& || (info.dll == string("divx_c32.ax")) || (info.dll == string("wmvds32.ax")) || (info.dll == string("wmv8ds32.ax"))); + + printf("m_bIsDivX=%d\n",m_bIsDivX); } catch (FatalError& error) { @@ -548,9 +550,12 @@ HRESULT DS_VideoDecoder::SetValue(const char* name, int value) { if (m_bIsDivX) { + if (m_State != START) return VFW_E_NOT_RUNNING; + printf("DS_VideoDecoder::SetValue(%s,%d)\n",name,value); + //cout << "set value " << name << " " << value << endl; // brightness 87 // contrast 74 |