| 1356 | } |
| 1357 | |
| 1358 | STDMETHODIMP CMpcVideoRenderer::Flt_GetInt(LPCSTR field, int* value) |
| 1359 | { |
| 1360 | CheckPointer(value, E_POINTER); |
| 1361 | |
| 1362 | if (!strcmp(field, "renderType")) { |
| 1363 | if (m_inputMT.IsValid()) { |
| 1364 | *value = m_VideoProcessor->Type(); |
| 1365 | } else { |
| 1366 | *value = 0; // not initialized |
| 1367 | } |
| 1368 | return S_OK; |
| 1369 | } |
| 1370 | if (!strcmp(field, "playbackState")) { |
| 1371 | *value = m_filterState; |
| 1372 | return S_OK; |
| 1373 | } |
| 1374 | if (!strcmp(field, "rotation")) { |
| 1375 | *value = m_VideoProcessor->GetRotation(); |
| 1376 | return S_OK; |
| 1377 | } |
| 1378 | |
| 1379 | return E_INVALIDARG; |
| 1380 | } |
| 1381 | |
| 1382 | STDMETHODIMP CMpcVideoRenderer::Flt_GetInt64(LPCSTR field, __int64 *value) |
| 1383 | { |
nothing calls this directly
no test coverage detected