| 2634 | } |
| 2635 | |
| 2636 | STDMETHODIMP CLAVVideo::SetPixelFormat(LAVOutPixFmts pixFmt, BOOL bEnabled) |
| 2637 | { |
| 2638 | if (pixFmt < 0 || pixFmt >= LAVOutPixFmt_NB) |
| 2639 | return E_FAIL; |
| 2640 | |
| 2641 | m_settings.bPixFmts[pixFmt] = bEnabled; |
| 2642 | |
| 2643 | return SaveSettings(); |
| 2644 | } |
| 2645 | |
| 2646 | STDMETHODIMP_(BOOL) CLAVVideo::GetPixelFormat(LAVOutPixFmts pixFmt) |
| 2647 | { |