h264parse: correct debug message and remove some dead code

See #661113.
This commit is contained in:
Sreerenj Balachandran 2011-10-13 16:52:43 +03:00 committed by Mark Nauwelaerts
parent 0a478db7dd
commit f8239ff692

View file

@ -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: