[vlc-commits] codec: hxxx: fix debug logs

Thomas Guillem git at videolan.org
Thu Mar 30 10:27:48 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar 30 10:22:46 2017 +0200| [842b0fc4a9756f1333493d562cb0dbee618c0da8] | committer: Thomas Guillem

codec: hxxx: fix debug logs

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

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

diff --git a/modules/codec/hxxx_helper.c b/modules/codec/hxxx_helper.c
index 7b71478..6c967b9 100644
--- a/modules/codec/hxxx_helper.c
+++ b/modules/codec/hxxx_helper.c
@@ -181,7 +181,7 @@ h264_helper_parse_nal(struct hxxx_helper *hh, const uint8_t *p_buf, size_t i_buf
             hnal->h264_sps = p_sps;
             *p_config_changed = true;
             hh->h264.i_current_sps = p_sps->i_id;
-fprintf(stderr, "new SPS parsed: %u\n", p_sps->i_id);
+            msg_Dbg(hh->p_obj, "new SPS parsed: %u\n", p_sps->i_id);
         }
         else if (i_nal_type == H264_NAL_PPS)
         {
@@ -206,7 +206,7 @@ fprintf(stderr, "new SPS parsed: %u\n", p_sps->i_id);
 
             hnal->h264_pps = p_pps;
             *p_config_changed = true;
-fprintf(stderr, "new PPS parsed: %u\n", p_pps->i_id);
+            msg_Dbg(hh->p_obj, "new  PPS parsed: %u\n", p_pps->i_id);
         }
         else if (i_nal_type <= H264_NAL_SLICE_IDR
               && i_nal_type != H264_NAL_UNKNOWN)



More information about the vlc-commits mailing list