From f8239ff6924c7e03af73707ef5fd9e218c0f9f5c Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Thu, 13 Oct 2011 16:52:43 +0300 Subject: [PATCH] h264parse: correct debug message and remove some dead code See #661113. --- gst/videoparsers/gsth264parse.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index afc17bdd2b..d931111597 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -624,8 +624,7 @@ gst_h264_parse_check_valid_frame (GstBaseParse * parse, "current offset: %u, Nal offset: %u, Nal Size: %u", current_off, nalu.offset, nalu.size); - current_off = nalu.offset + nalu.size; - GST_DEBUG_OBJECT (h264parse, "current off. %u, %u", current_off, + GST_DEBUG_OBJECT (h264parse, "current off. %u", nalu.offset + nalu.size); if (!h264parse->nalu.size && !h264parse->nalu.valid) h264parse->nalu = nalu; @@ -1314,7 +1313,7 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps) /* ERRORS */ avcc_too_small: { - GST_DEBUG_OBJECT (h264parse, "avcC size %u < 7", size); + GST_DEBUG_OBJECT (h264parse, "avcC size %u < 8", size); goto refuse_caps; } wrong_version: