diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-02-27 08:54:14 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-02-27 08:54:14 +0000 |
commit | 0e6523f21575ebfe9b88f8ec037e9d462e2b8520 (patch) | |
tree | 0d01443733ce49079b1ecaae0cff7c3db6e073d7 /src | |
parent | 75a5068b87f69f4826bdb405052701c4bba4103d (diff) | |
download | xine-lib-0e6523f21575ebfe9b88f8ec037e9d462e2b8520.tar.gz xine-lib-0e6523f21575ebfe9b88f8ec037e9d462e2b8520.tar.bz2 |
patch from Thibaut MATTERN, removes height hack and another onefield fix
CVS patchset: 1526
CVS date: 2002/02/27 08:54:14
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/video_out_xv.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 20f45b088..e69880357 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xv.c,v 1.98 2002/02/26 21:50:42 guenter Exp $ + * $Id: video_out_xv.c,v 1.99 2002/02/27 08:54:14 guenter Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -906,7 +906,9 @@ static int xv_set_property (vo_driver_t *this_gen, printf("video_out_xv: VO_PROP_INTERLACED(%d)\n", this->props[property].value); this->deinterlace_enabled = value; - + if (this->deinterlace_method == DEINTERLACE_ONEFIELDXV) { + xv_compute_ideal_size (this); + } break; case VO_PROP_ASPECT_RATIO: @@ -1009,14 +1011,14 @@ static int xv_gui_data_exchange (vo_driver_t *this_gen, XvShmPutImage(this->display, this->xv_port, this->drawable, this->gc, this->cur_frame->image, this->displayed_xoffset, this->displayed_yoffset, - this->displayed_width, this->displayed_height - 5, + this->displayed_width, this->displayed_height, this->output_xoffset, this->output_yoffset, this->output_width, this->output_height, True); } else { XvPutImage(this->display, this->xv_port, this->drawable, this->gc, this->cur_frame->image, this->displayed_xoffset, this->displayed_yoffset, - this->displayed_width, this->displayed_height - 5, + this->displayed_width, this->displayed_height, this->output_xoffset, this->output_yoffset, this->output_width, this->output_height); } |