Ticket #7408: xv_scaling.patch

File xv_scaling.patch, 956 bytes (added by Jonatan <mythtv@…>, 14 years ago)
  • libs/libmythtv/videoout_xv.cpp

     
    272272    window.SetDisplayAspect(
    273273        ((float)display_dim.width()) / display_dim.height());
    274274
     275    ResizeForVideo();
    275276    MoveResize();
    276277}
    277278
  • libs/libmythtv/tv_play.cpp

     
    34283428{
    34293429    if (QEvent::Resize == e->type())
    34303430    {
     3431        QSize newSize = ((const QResizeEvent*) e)->size();
     3432        VERBOSE(VB_PLAYBACK, QString("QEvent::Resize(%1, %2)").arg(newSize.width()).arg(newSize.height()));
    34313433        PlayerContext *mctx = GetPlayerReadLock(0, __FILE__, __LINE__);
    34323434        mctx->LockDeletePlayer(__FILE__, __LINE__);
    34333435        if (mctx->player)