summaryrefslogtreecommitdiff
path: root/src/xine-engine
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-07-01 17:56:05 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-07-01 17:56:05 +0000
commit55b973ab9dde41cbc9d70e2cb9cb1365ec4ad5a2 (patch)
treea75e2ca408aa1dea4eab0ae04b34408cbc261011 /src/xine-engine
parente7eb5eea39cb19a939a519828be0879ba58d1805 (diff)
downloadxine-lib-55b973ab9dde41cbc9d70e2cb9cb1365ec4ad5a2.tar.gz
xine-lib-55b973ab9dde41cbc9d70e2cb9cb1365ec4ad5a2.tar.bz2
enable ffmpeg's msmpeg4 v1/v2.
note: i don't have any v1 streams to test. v2 are working fine though. CVS patchset: 2189 CVS date: 2002/07/01 17:56:05
Diffstat (limited to 'src/xine-engine')
-rw-r--r--src/xine-engine/buffer.h5
-rw-r--r--src/xine-engine/buffer_types.c15
2 files changed, 15 insertions, 5 deletions
diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h
index 339f556d1..15eac4969 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.53 2002/06/26 15:55:49 jkeil Exp $
+ * $Id: buffer.h,v 1.54 2002/07/01 17:56:05 miguelfreitas Exp $
*
*
* contents:
@@ -83,7 +83,7 @@ extern "C" {
#define BUF_VIDEO_MPEG4 0x02010000
#define BUF_VIDEO_CINEPAK 0x02020000
#define BUF_VIDEO_SORENSON_V1 0x02030000
-#define BUF_VIDEO_MSMPEG4_V12 0x02040000
+#define BUF_VIDEO_MSMPEG4_V2 0x02040000
#define BUF_VIDEO_MSMPEG4_V3 0x02050000
#define BUF_VIDEO_MJPEG 0x02060000
#define BUF_VIDEO_IV50 0x02070000
@@ -116,6 +116,7 @@ extern "C" {
#define BUF_VIDEO_FLI 0x02230000
#define BUF_VIDEO_ROQ 0x02240000
#define BUF_VIDEO_SORENSON_V3 0x02250000
+#define BUF_VIDEO_MSMPEG4_V1 0x02260000
/* 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 78cb7dba7..4812def16 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.26 2002/06/24 12:26:30 jcdutton Exp $
+ * $Id: buffer_types.c,v 1.27 2002/07/01 17:56:05 miguelfreitas Exp $
*
*
* contents:
@@ -136,6 +136,15 @@ static video_db_t video_db[] = {
{
meFOURCC('M', 'P', '4', '1'),
meFOURCC('m', 'p', '4', '1'),
+ 0
+ },
+ BUF_VIDEO_MSMPEG4_V1,
+ "Microsoft MPEG-4 format v1"
+},
+{
+ {
+ meFOURCC('M', 'P', '4', '1'),
+ meFOURCC('m', 'p', '4', '1'),
meFOURCC('M', 'P', '4', '2'),
meFOURCC('m', 'p', '4', '2'),
meFOURCC('D', 'I', 'V', '2'),
@@ -144,8 +153,8 @@ static video_db_t video_db[] = {
meFOURCC('m', 'p', 'g', '4'),
0
},
- BUF_VIDEO_MSMPEG4_V12,
- "Microsoft MPEG-4 format v1/v2"
+ BUF_VIDEO_MSMPEG4_V2,
+ "Microsoft MPEG-4 format v2"
},
{
{