diff options
author | Rich J Wareham <richwareham@users.sourceforge.net> | 2001-11-03 14:46:05 +0000 |
---|---|---|
committer | Rich J Wareham <richwareham@users.sourceforge.net> | 2001-11-03 14:46:05 +0000 |
commit | a6cee3530855b4a4dc6c6b30fdbaae25928c16c7 (patch) | |
tree | 1b2b9165982dc71d242a6f6b244091fb6ba26004 | |
parent | a1e1a6edcb9b7a82bfc2c4aa6a34cf2f761698a5 (diff) | |
download | xine-lib-a6cee3530855b4a4dc6c6b30fdbaae25928c16c7.tar.gz xine-lib-a6cee3530855b4a4dc6c6b30fdbaae25928c16c7.tar.bz2 |
Added deinterlace to SyncFB
CVS patchset: 935
CVS date: 2001/11/03 14:46:05
-rw-r--r-- | src/video_out/video_out_syncfb.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c index 46fb0763c..70500f9e6 100644 --- a/src/video_out/video_out_syncfb.c +++ b/src/video_out/video_out_syncfb.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_syncfb.c,v 1.18 2001/11/03 13:57:34 matt2000 Exp $ + * $Id: video_out_syncfb.c,v 1.19 2001/11/03 14:46:05 richwareham Exp $ * * video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine * @@ -299,6 +299,9 @@ static void syncfb_adapt_to_output_area(syncfb_driver_t* this, printf("video_out_syncfb: error. (get_config ioctl failed)\n"); this->syncfb_config.syncfb_mode = SYNCFB_FEATURE_BLOCK_REQUEST | SYNCFB_FEATURE_SCALE | SYNCFB_FEATURE_OFFSET; + if(this->deinterlace_enabled) { + this->syncfb_config.syncfb_mode |= SYNCFB_FEATURE_DEINTERLACE; + } this->syncfb_config.src_palette = this->palette; @@ -681,6 +684,8 @@ static int syncfb_set_property(vo_driver_t* this_gen, int property, int value) printf("video_out_syncfb: VO_PROP_INTERLACED(%d)\n", this->props[property].value); this->deinterlace_enabled = value; + syncfb_adapt_to_output_area(this, this->output_xoffset, this->output_yoffset, + this->output_width, this->output_height); break; case VO_PROP_ASPECT_RATIO: if(value>=NUM_ASPECT_RATIOS) |