Mercurial > mplayer.hg
comparison loader/dshow/DS_VideoDecoder.c @ 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 | 80cbe17e0f58 |
comparison
equal
deleted
inserted
replaced
1554:db379aa38e51 | 1555:076c27342828 |
---|---|
153 | 153 |
154 m_bIsDivX = ((info.dll == string("divxcvki.ax")) | 154 m_bIsDivX = ((info.dll == string("divxcvki.ax")) |
155 || (info.dll == string("divx_c32.ax")) | 155 || (info.dll == string("divx_c32.ax")) |
156 || (info.dll == string("wmvds32.ax")) | 156 || (info.dll == string("wmvds32.ax")) |
157 || (info.dll == string("wmv8ds32.ax"))); | 157 || (info.dll == string("wmv8ds32.ax"))); |
158 | |
159 printf("m_bIsDivX=%d\n",m_bIsDivX); | |
158 } | 160 } |
159 catch (FatalError& error) | 161 catch (FatalError& error) |
160 { | 162 { |
161 delete[] m_sVhdr2; | 163 delete[] m_sVhdr2; |
162 delete m_pDS_Filter; | 164 delete m_pDS_Filter; |
546 | 548 |
547 HRESULT DS_VideoDecoder::SetValue(const char* name, int value) | 549 HRESULT DS_VideoDecoder::SetValue(const char* name, int value) |
548 { | 550 { |
549 if (m_bIsDivX) | 551 if (m_bIsDivX) |
550 { | 552 { |
553 | |
551 if (m_State != START) | 554 if (m_State != START) |
552 return VFW_E_NOT_RUNNING; | 555 return VFW_E_NOT_RUNNING; |
556 | |
557 printf("DS_VideoDecoder::SetValue(%s,%d)\n",name,value); | |
553 | 558 |
554 //cout << "set value " << name << " " << value << endl; | 559 //cout << "set value " << name << " " << value << endl; |
555 // brightness 87 | 560 // brightness 87 |
556 // contrast 74 | 561 // contrast 74 |
557 // hue 23 | 562 // hue 23 |