# HG changeset patch # User michael # Date 1230143963 0 # Node ID 30f2b80242b29fcbbb36c912baf7c36061683f32 # Parent aedda304862c01f1b37458a49ff9288e78248580 export refs diff -r aedda304862c -r 30f2b80242b2 h264.c --- a/h264.c Wed Dec 24 17:38:27 2008 +0000 +++ b/h264.c Wed Dec 24 18:39:23 2008 +0000 @@ -4041,6 +4041,8 @@ h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE) ? 0 : 16; h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width; + s->avctx->refs= h->sps.ref_frame_count; + if(s->avctx->debug&FF_DEBUG_PICT_INFO){ av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c%s%s pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s %s\n", h->slice_num,