Ticket #4835: dummy_aspect.diff

File dummy_aspect.diff, 595 bytes (added by Mark Buechler <Mark.Buechler@…>, 16 years ago)

The patch

  • NuppelVideoPlayer.cpp

    old new void NuppelVideoPlayer::OpenDummy(void) 
    10401040{
    10411041    isDummy = true;
    10421042
     1043    float displayAspect = gContext->GetFloatSettingOnHost(
     1044            "XineramaMonitorAspectRatio",
     1045            gContext->GetHostName(), 1.3333);
     1046
    10431047    if (!videoOutput)
    10441048    {
    1045         SetVideoParams(720, 576, 25.00, 15);
     1049        SetVideoParams(720, 576, 25.00, 15, displayAspect);
    10461050    }
    10471051
    10481052    SetDecoder(new DummyDecoder(this, m_playbackinfo));