DShowPlugin: Don't use bad resolution if not found

If the source is set to a bad resolution, it never set the rendering
width/height to the new expected width/height.
master
jp9000 2015-11-23 13:43:36 -08:00
parent dd680cbfb6
commit 1e6b90e0af
1 changed files with 3 additions and 0 deletions

View File

@ -541,6 +541,9 @@ bool DeviceSource::LoadFilters()
goto cleanFinish;
} else { /* エルガット=自殺 */
bestOutput = &outputList[0];
renderCX = newCX = bestOutput->minCX;
renderCY = newCY = bestOutput->minCY;
frameInterval = bestOutput->minFrameInterval;
}
}