[mythtv-users] XvMC Screen Size with xvmc-opengl

stanley kamithi skamithi at gmail.com
Thu Sep 27 14:41:17 UTC 2007

> When mythfrontend is in 1024x768 this results in a 480x480 square of
> video in the top left hand corner of my screen (which renders
> beautifully, by  the way).
> Is there anything that can be done at this point?  If not, that's
> fine... the standard renderer works great for my uses... just curious
> is all. :)

I have the same problem too.
I reported this issue to Daniel K. Here is a temp workaround that I use in
the meantime.
It's not perfect since sometimes the opengl OSD doesn't show for some
but at least i don't get a small picture in the corner anymore.

--- libs/libmythtv/videoout_xv.cpp      (revision 14512)
+++ libs/libmythtv/videoout_xv.cpp      (working copy)
@@ -1277,7 +1277,7 @@
         xvmc_tex = XvMCTextures::Create(
             XJ_disp, XJ_curwin, XJ_screen_num,
-            video_dim, GetTotalOSDBounds().size());
+            video_dim, display_visible_rect.size());

         if (xvmc_tex)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070927/91cb1a36/attachment.htm 

More information about the mythtv-users mailing list