summaryrefslogtreecommitdiff
path: root/src/libffmpeg/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/xine_decoder.c')
-rw-r--r--src/libffmpeg/xine_decoder.c8
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
};