summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libw32dll/w32codec.c10
-rw-r--r--src/xine-engine/buffer.h3
-rw-r--r--src/xine-engine/buffer_types.c10
3 files changed, 19 insertions, 4 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index 6643e52bc..da1115ba0 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.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: w32codec.c,v 1.89 2002/08/10 21:25:20 miguelfreitas Exp $
+ * $Id: w32codec.c,v 1.90 2002/08/29 06:06:02 tmmm Exp $
*
* routines for using w32 codecs
* DirectShow support by Miguel Freitas (Nov/2001)
@@ -377,6 +377,11 @@ static char* get_vids_codec_name(w32v_decoder_t *this,
this->guid=&mss1_clsid;
return "msscds32.ax";
+ case BUF_VIDEO_XXAN:
+ this->flipped=1;
+ this->yuv_supported=0;
+ return "xanlib.dll";
+
}
printf ("w32codec: this didn't happen: unknown video buf type %08x\n",
@@ -414,7 +419,8 @@ static int w32v_can_handle (video_decoder_t *this_gen, int buf_type) {
buf_type == BUF_VIDEO_WMV7 ||
buf_type == BUF_VIDEO_WMV8 ||
buf_type == BUF_VIDEO_VP31 ||
- buf_type == BUF_VIDEO_MSS1 );
+ buf_type == BUF_VIDEO_MSS1 ||
+ buf_type == BUF_VIDEO_XXAN );
}
static void w32v_init (video_decoder_t *this_gen, vo_instance_t *video_out) {
diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h
index 3383724df..5ed7c3c53 100644
--- a/src/xine-engine/buffer.h
+++ b/src/xine-engine/buffer.h
@@ -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: buffer.h,v 1.64 2002/08/28 14:03:29 miguelfreitas Exp $
+ * $Id: buffer.h,v 1.65 2002/08/29 06:06:03 tmmm Exp $
*
*
* contents:
@@ -125,6 +125,7 @@ extern "C" {
#define BUF_VIDEO_YVU9 0x022C0000
#define BUF_VIDEO_VQA 0x022D0000
#define BUF_VIDEO_GREY 0x022E0000
+#define BUF_VIDEO_XXAN 0x022F0000
/* audio buffer types: (please keep in sync with buffer_types.c) */
diff --git a/src/xine-engine/buffer_types.c b/src/xine-engine/buffer_types.c
index 900ba8200..d04505a0b 100644
--- a/src/xine-engine/buffer_types.c
+++ b/src/xine-engine/buffer_types.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: buffer_types.c,v 1.38 2002/08/28 14:03:30 miguelfreitas Exp $
+ * $Id: buffer_types.c,v 1.39 2002/08/29 06:06:03 tmmm Exp $
*
*
* contents:
@@ -455,6 +455,14 @@ static video_db_t video_db[] = {
BUF_VIDEO_GREY,
"Raw greyscale"
},
+{
+ {
+ meFOURCC('X', 'x', 'a', 'n'),
+ 0
+ },
+ BUF_VIDEO_XXAN,
+ "Blue Mu Productions Codec (?)"
+},
{ { 0 }, 0, "last entry" }
};