diff options
Diffstat (limited to 'src/dxr3/dxr3_decoder.c')
-rw-r--r-- | src/dxr3/dxr3_decoder.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c index 121135769..b45f5b360 100644 --- a/src/dxr3/dxr3_decoder.c +++ b/src/dxr3/dxr3_decoder.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: dxr3_decoder.c,v 1.26 2001/10/29 09:57:41 mlampard Exp $ + * $Id: dxr3_decoder.c,v 1.27 2001/11/01 12:38:08 mlampard Exp $ * * dxr3 video and spu decoder plugin. Accepts the video and spu data * from XINE and sends it directly to the corresponding dxr3 devices. @@ -66,6 +66,7 @@ typedef struct dxr3_decoder_s { int height; int aspect; int duration; + int enhanced_mode; } dxr3_decoder_t; static int dxr3_tested = 0; @@ -359,6 +360,9 @@ static void dxr3_decode_data (video_decoder_t *this_gen, buf_element_t *buf) } } + if(this->enhanced_mode && !scanning_mode) + dxr3_mvcommand(this->fd_control, 6); + written = write(this->fd_video, buf->content, buf->size); if (written < 0) { fprintf(stderr, "dxr3: video device write failed (%s)\n", @@ -419,7 +423,9 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, this->video_decoder.priority = 10; this->scr_prio = cfg->lookup_int(cfg, "dxr3_scr_prio", 10); - + this->enhanced_mode = cfg->lookup_int(cfg,"dxr3_buffer_mode", 0); + if(this->enhanced_mode) + printf("Dxr3: Using Mode 6 for playback\n"); return (video_decoder_t *) this; } |