Mercurial > libavformat.hg
changeset 4899:52992e9a0109 libavformat
Add raw MLP muxer.
author | ramiro |
---|---|
date | Tue, 21 Apr 2009 23:23:15 +0000 |
parents | 609322be76a6 |
children | d24b4e25db8d |
files | Makefile allformats.c raw.c |
diffstat | 3 files changed, 17 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon Apr 20 20:06:55 2009 +0000 +++ b/Makefile Tue Apr 21 23:23:15 2009 +0000 @@ -89,6 +89,7 @@ OBJS-$(CONFIG_MJPEG_DEMUXER) += raw.o OBJS-$(CONFIG_MJPEG_MUXER) += raw.o OBJS-$(CONFIG_MLP_DEMUXER) += raw.o id3v2.o +OBJS-$(CONFIG_MLP_MUXER) += raw.o OBJS-$(CONFIG_MM_DEMUXER) += mm.o OBJS-$(CONFIG_MMF_DEMUXER) += mmf.o raw.o OBJS-$(CONFIG_MMF_MUXER) += mmf.o riff.o
--- a/allformats.c Mon Apr 20 20:06:55 2009 +0000 +++ b/allformats.c Tue Apr 21 23:23:15 2009 +0000 @@ -102,7 +102,7 @@ REGISTER_MUXDEMUX (MATROSKA, matroska); REGISTER_MUXER (MATROSKA_AUDIO, matroska_audio); REGISTER_MUXDEMUX (MJPEG, mjpeg); - REGISTER_DEMUXER (MLP, mlp); + REGISTER_MUXDEMUX (MLP, mlp); REGISTER_DEMUXER (MM, mm); REGISTER_MUXDEMUX (MMF, mmf); REGISTER_MUXDEMUX (MOV, mov);
--- a/raw.c Mon Apr 20 20:06:55 2009 +0000 +++ b/raw.c Tue Apr 21 23:23:15 2009 +0000 @@ -973,6 +973,21 @@ }; #endif +#ifdef CONFIG_MLP_MUXER +AVOutputFormat mlp_muxer = { + "mlp", + NULL_IF_CONFIG_SMALL("raw MLP"), + NULL, + "mlp", + 0, + CODEC_ID_MLP, + CODEC_ID_NONE, + NULL, + raw_write_packet, + .flags= AVFMT_NOTIMESTAMPS, +}; +#endif + #if CONFIG_TRUEHD_DEMUXER AVInputFormat truehd_demuxer = { "truehd",