Mercurial > libavcodec.hg
diff mpegvideo.c @ 930:6bcb214d6a17 libavcodec
more debug output
author | michaelni |
---|---|
date | Tue, 17 Dec 2002 11:25:29 +0000 |
parents | 7fccaa0d699d |
children | caa77cd960c0 |
line wrap: on
line diff
--- a/mpegvideo.c Sun Dec 15 22:42:59 2002 +0000 +++ b/mpegvideo.c Tue Dec 17 11:25:29 2002 +0000 @@ -914,7 +914,6 @@ void MPV_frame_end(MpegEncContext *s) { int i; - /* draw edge for correct motion prediction if outside */ if(s->codec_id!=CODEC_ID_SVQ1){ if (s->pict_type != B_TYPE && !s->intra_only && !(s->flags&CODEC_FLAG_EMU_EDGE)) { @@ -3466,6 +3465,15 @@ } } +char ff_get_pict_type_char(int pict_type){ + switch(pict_type){ + case I_TYPE: return 'I'; + case P_TYPE: return 'P'; + case B_TYPE: return 'B'; + case S_TYPE: return 'S'; + } +} + AVCodec mpeg1video_encoder = { "mpeg1video", CODEC_TYPE_VIDEO,