[Openchrome-users] 720x480 problems

Thomas Hellström thomas
Mon Aug 14 09:59:02 PDT 2006


Daniel Kristjansson wrote:

>On Mon, 2006-08-14 at 13:24 +0200, Thomas Hellstr?m wrote:
>  
>
>>Trevor Kramer wrote:
>>If it works with this option set to true (and it looks like it will), it 
>>is MythTV not setting up the Xv image format according to the pitches 
>>and sizes it receives from the X server, and thus a MythTV bug.
>>    
>>
>
>For plain XVideo, as opposed to XvMC, we just use the video dimensions.
>
>Should we be using XvQueryBestSize(), or something else?
>
>  
>
Hi!

IIRC, XvCreateImage and XvShmCreateImage should return an XV image with the
pitches[] and data_size fields correctly set. You need to make sure that 
the size alloced and the pitches actually used correspond to these values.

/Thomas


>-- Daniel
>
>
>_______________________________________________
>openchrome-users mailing list
>openchrome-users at openchrome.org
>http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>Main page:
>http://www.openchrome.org
>Wiki:
>http://wiki.openchrome.org
>User Forum:
>http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>
>
>  
>





More information about the Openchrome-users mailing list