MythTV implements "bob" deinterlacing by rearranging the scanlines of an interlaced picture such that the first field's lines are in the top half of the picture, and the second field's lines are in the bottom half. It then does XvShmPutImage with first the top half of the frame (one field) then the bottom, at twice the video's interlaced frame rate. It is counting on the video card/driver to scale the output back to full height. I wrote this code. It has worked for a few years for many people on a variety of hardware. Example debug output from i830_video.c, I830PutImage : I830PutImage: src: (0,0)(704,240), dst: (209,50)(960,720) width 704, height 480 I830PutImage: src: (0,240)(704,240), dst: (209,51)(960,720) width 704, height 480 With the current Intel driver (as well as with recent i810 drivers), the video is not scaled to fit the entire window, instead showing in the top half only. The simple patch in the supplied URL fixes this problem for me.
Created attachment 9332 [details] [review] Patch for i965_video.c
You can see a related effect in the GXine or Totem movie players by zooming in on a video while it's playing. The video takes up progressively less of the window with each zoom step. With the patch, it works properly.
Fixed with a slightly different patch. Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.