| 1853 | // if we don't have a video stream we still need to make sure some |
| 1854 | // video params are set properly |
| 1855 | if (selectedVideoIndex == -1) |
| 1856 | { |
| 1857 | QString tvformat = gContext->GetSetting("TVFormat").lower(); |
| 1858 | if (tvformat == "ntsc" || tvformat == "ntsc-jp" || |
| 1859 | tvformat == "pal-m" || tvformat == "atsc") |
| 1860 | { |
| 1861 | fps = 29.97; |
| 1862 | GetNVP()->SetVideoParams(-1, -1, 29.97, 1); |
| 1863 | } |
| 1864 | else |
| 1865 | { |
| 1866 | fps = 25.0; |
| 1867 | GetNVP()->SetVideoParams(-1, -1, 25.0, 1); |
| 1868 | } |
| 1869 | } |
| 1870 | |