Permalink
Browse files

Don't lose manual zoom level on video input changes.

  • Loading branch information...
daniel-kristjansson committed Jul 16, 2013
1 parent 1ebf701 commit aebad8241589361920a1ff91a5432f5f8c86b08d
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/libs/libmythtv/videoout_vdpau.cpp
@@ -751,6 +751,8 @@ bool VideoOutputVDPAU::InputChanged(const QSize &video_dim_buf,
return true;
}
AdjustFillMode oldadjustfillmode = window.GetAdjustFill();
TearDown();
QRect disp = window.GetDisplayVisibleRect();
if (Init(video_dim_buf, video_dim_disp,
@@ -759,6 +761,7 @@ bool VideoOutputVDPAU::InputChanged(const QSize &video_dim_buf,
if (wasembedding)
EmbedInWidget(oldrect);
BestDeint();
window.ToggleAdjustFill(oldadjustfillmode);
return true;
}

0 comments on commit aebad82

Please sign in to comment.