Skip to content

Commit

Permalink
Ensure the X image created in the Xlib 'fallback' video renderer is the
Browse files Browse the repository at this point in the history
same size as the buffer created for software based conversion and
scaling.

Refs #9139


git-svn-id: http://svn.mythtv.org/svn/trunk@27392 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
Mark Kendall committed Dec 1, 2010
1 parent 651836b commit d968edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/videoout_xv.cpp
Expand Up @@ -1764,8 +1764,8 @@ bool VideoOutputXv::CreateBuffers(VOSType subtype)
Visual *visual = DefaultVisual(d, scrn);
XJ_non_xv_image = XCreateImage(d, visual, disp->GetDepth(),
ZPixmap, /*offset*/0, /*data*/0,
display_visible_rect.width(),
display_visible_rect.height(),
display_visible_rect.width() & ~0x1,
display_visible_rect.height() & ~0x1,
/*bitmap_pad*/8, 0);

if (!XJ_non_xv_image)
Expand Down

0 comments on commit d968edb

Please sign in to comment.