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
parent
dd680cbfb6
commit
1e6b90e0af
|
@ -541,6 +541,9 @@ bool DeviceSource::LoadFilters()
|
|||
goto cleanFinish;
|
||||
} else { /* エルガット=自殺 */
|
||||
bestOutput = &outputList[0];
|
||||
renderCX = newCX = bestOutput->minCX;
|
||||
renderCY = newCY = bestOutput->minCY;
|
||||
frameInterval = bestOutput->minFrameInterval;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue