diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-02-19 21:37:15 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-02-19 21:37:15 +0000 |
commit | ca8fd8f4748c07e19fbfff317f302e79072c01b1 (patch) | |
tree | 13577057e2ffc66a7c4d1cfd55f44f69facbe7e4 /src/libffmpeg/xine_decoder.c | |
parent | 7f12bd3aba90ea334c924f8d5456860e50c498ab (diff) | |
download | xine-lib-ca8fd8f4748c07e19fbfff317f302e79072c01b1.tar.gz xine-lib-ca8fd8f4748c07e19fbfff317f302e79072c01b1.tar.bz2 |
Support for YUY2 HuffYUV video
CVS patchset: 4203
CVS date: 2003/02/19 21:37:15
Diffstat (limited to 'src/libffmpeg/xine_decoder.c')
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 560a1697c..37d9ed892 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_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: xine_decoder.c,v 1.92 2003/02/04 22:01:34 hadess Exp $ + * $Id: xine_decoder.c,v 1.93 2003/02/19 21:37:16 jstembridge Exp $ * * xine decoder plugin using ffmpeg * @@ -399,6 +399,11 @@ static void ff_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup ("DV (ffmpeg)"); break; + case BUF_VIDEO_HUFFYUV: + this->codec = avcodec_find_decoder (CODEC_ID_HUFFYUV); + this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] + = strdup ("huffyuv (ffmpeg)"); + break; default: printf ("ffmpeg: unknown video format (buftype: 0x%08X)\n", buf->type & 0xFFFF0000); @@ -1092,6 +1097,7 @@ static uint32_t supported_video_types[] = { BUF_VIDEO_JPEG, BUF_VIDEO_MPEG, BUF_VIDEO_DV, + BUF_VIDEO_HUFFYUV, 0 }; |