summaryrefslogtreecommitdiff
path: root/src/dxr3/dxr3_decoder.c
diff options
context:
space:
mode:
authorMike Lampard <mlampard@users.sourceforge.net>2001-10-24 13:42:58 +0000
committerMike Lampard <mlampard@users.sourceforge.net>2001-10-24 13:42:58 +0000
commitbcfe1227d726bdc7bb2e71bab13f7836d5affa28 (patch)
tree80b1b6f1d83935fda085f6ca95f7d5c8a66f4b8b /src/dxr3/dxr3_decoder.c
parent47f4ca0777be5b4adf75dc49941fd0d553c1afc3 (diff)
downloadxine-lib-bcfe1227d726bdc7bb2e71bab13f7836d5affa28.tar.gz
xine-lib-bcfe1227d726bdc7bb2e71bab13f7836d5affa28.tar.bz2
Exit nicely with a message if the user tries to play a non-mpeg stream,
instead of just seg-faulting... CVS patchset: 874 CVS date: 2001/10/24 13:42:58
Diffstat (limited to 'src/dxr3/dxr3_decoder.c')
-rw-r--r--src/dxr3/dxr3_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c
index b30a76d31..c5c6240af 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.19 2001/10/23 15:20:35 mlampard Exp $
+ * $Id: dxr3_decoder.c,v 1.20 2001/10/24 13:42:58 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.
@@ -240,7 +240,7 @@ static void find_aspect(dxr3_decoder_t *this, uint8_t * buffer)
if (old_h!=this->height || old_w!=this->width || old_a!=this->aspect)
this->video_out->get_frame(this->video_out,
this->width,this->height,this->aspect,
- IMGFMT_YV12, 1, VO_BOTH_FIELDS);
+ IMGFMT_YV12, 1, 6667);
}
}