[FFmpeg-cvslog] h264: Print pass in NAL debug output

Michael Niedermayer git at videolan.org
Tue Jan 3 13:51:55 CET 2012


ffmpeg | branch: release/0.9 | Michael Niedermayer <michaelni at gmx.at> | Sun Jan  1 15:27:38 2012 +0100| [1506becf36ecf1a6608bc56615cdb317ea2fb7f5] | committer: Carl Eugen Hoyos

h264: Print pass in NAL debug output

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 393253b4b3b454830b22c8e69acbe11e2684da7e)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1506becf36ecf1a6608bc56615cdb317ea2fb7f5
---

 libavcodec/h264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 7daca10..fbf4208 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3839,7 +3839,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
         bit_length= !dst_length ? 0 : (8*dst_length - ff_h264_decode_rbsp_trailing(h, ptr + dst_length - 1));
 
         if(s->avctx->debug&FF_DEBUG_STARTCODE){
-            av_log(h->s.avctx, AV_LOG_DEBUG, "NAL %d/%d at %d/%d length %d\n", hx->nal_unit_type, hx->nal_ref_idc, buf_index, buf_size, dst_length);
+            av_log(h->s.avctx, AV_LOG_DEBUG, "NAL %d/%d at %d/%d length %d pass %d\n", hx->nal_unit_type, hx->nal_ref_idc, buf_index, buf_size, dst_length, pass);
         }
 
         if (h->is_avc && (nalsize != consumed) && nalsize){



More information about the ffmpeg-cvslog mailing list