mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
h264parse: correct debug message and remove some dead code
See #661113.
This commit is contained in:
parent
0a478db7dd
commit
f8239ff692
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue