summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-26 01:06:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-26 01:06:15 +0000
commit4806b9226cbb72a7acb365fe93ccbb3c4ddcfe02 (patch)
treecac48248b58eba179dccfb9e95ff60cf2dbe7d7b /libavcodec
parentbcbd328e173de259d221924778be992efe3961dd (diff)
print direct_spatial_mv_pred
Originally committed as revision 13409 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 5d8f7e0329..c6fe739465 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4233,7 +4233,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width;
if(s->avctx->debug&FF_DEBUG_PICT_INFO){
- av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s\n",
+ av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s %s\n",
h->slice_num,
(s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"),
first_mb_in_slice,
@@ -4244,7 +4244,8 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
s->qscale,
h->deblocking_filter, h->slice_alpha_c0_offset/2, h->slice_beta_offset/2,
h->use_weight,
- h->use_weight==1 && h->use_weight_chroma ? "c" : ""
+ h->use_weight==1 && h->use_weight_chroma ? "c" : "",
+ h->slice_type == FF_B_TYPE ? (h->direct_spatial_mv_pred ? "SPAT" : "TEMP") : ""
);
}