MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / SetPixelFormat

Method SetPixelFormat

decoder/LAVVideo/LAVVideo.cpp:2636–2644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2634}
2635
2636STDMETHODIMP 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
2646STDMETHODIMP_(BOOL) CLAVVideo::GetPixelFormat(LAVOutPixFmts pixFmt)
2647{

Callers 1

OnApplyChangesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected