[vlc-commits] packetizer: h264: add frame length in debug

Francois Cartegnie git at videolan.org
Thu Jun 22 15:08:03 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 22 15:05:56 2017 +0200| [e1364c4cd1a15d6f76d1dd83ea60bcc68fd968a2] | committer: Francois Cartegnie

packetizer: h264: add frame length in debug

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1364c4cd1a15d6f76d1dd83ea60bcc68fd968a2
---

 modules/packetizer/h264.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index 45287e88ef..1c1f51f387 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -900,11 +900,11 @@ static block_t *OutputPicture( decoder_t *p_dec )
     }
 
 #if 0
-    msg_Err(p_dec, "F/BOC %d/%d POC %d %d rec %d flags %x ref%d fn %d fp %d %d pts %ld",
+    msg_Err(p_dec, "F/BOC %d/%d POC %d %d rec %d flags %x ref%d fn %d fp %d %d pts %ld len %ld",
                     tFOC, bFOC, PictureOrderCount,
                     p_sys->slice.type, p_sys->b_recovered, p_pic->i_flags,
                     p_sys->slice.i_nal_ref_idc, p_sys->slice.i_frame_num, p_sys->slice.i_field_pic_flag,
-                    p_pic->i_pts - p_pic->i_dts, p_pic->i_pts % (100*CLOCK_FREQ));
+                    p_pic->i_pts - p_pic->i_dts, p_pic->i_pts % (100*CLOCK_FREQ), p_pic->i_length);
 #endif
 
     /* save for next pic fixups */



More information about the vlc-commits mailing list