[Bug 752910] h264parse: h264parse doesn't parse nal which contains multi slice per frame

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 28 01:46:55 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752910

--- Comment #2 from Sejun Park <sejun79.park at samsung.com> ---
Before applying patch, h264parser doesn't flush second nal of IDR as below.


codecparsers_h264 gsth264parser.c:1390:gst_h264_parser_identify_nalu: Complete
nal found. Off: 3, Size: 2762
h264parse gsth264parse.c:598:gst_h264_parse_process_nal:<h264parse0> processing
nal of type 5 Slice IDR, size 2762
h264parse gsth264parse.c:703:gst_h264_parse_process_nal:<h264parse0>
first_mb_in_slice = 0
baseparse gstbaseparse.c:2005:gst_base_parse_handle_buffer:<h264parse0>
handle_frame skipped 0, flushed 2765
baseparse gstbaseparse.c:1939:gst_base_parse_prepare_frame:<h264parse0>
preparing frame at offset -1 (0xffffffffffffffff) of size 3538
codecparsers_h264 gsth264parser.c:253:gst_h264_parse_nalu_header: Nal type 5,
ref_idc 1
h264parse gsth264parse.c:1008:gst_h264_parse_handle_frame:<h264parse0> not a
complete nal found at offset 3
baseparse gstbaseparse.c:2005:gst_base_parse_handle_buffer:<h264parse0>
handle_frame skipped 0, flushed 0

After applying patch, h264parser flush buffer properly.

baseparse gstbaseparse.c:1987:gst_base_parse_handle_buffer:<h264parse0>
handling buffer of size 3538 with dts 99:99:99.999999999, pts
99:99:99.999999999, duration 99:99:99.999999999
h264parse gsth264parse.c:1063:gst_h264_parse_handle_frame:<h264parse0>
0xb2665599 complete nal found. Off: 3, Size: 3535
h264parse gsth264parse.c:716:gst_h264_parse_process_nal:<h264parse0> parse
result 0, first MB: 54, slice type: 2
baseparse gstbaseparse.c:2005:gst_base_parse_handle_buffer:<h264parse0>
handle_frame skipped 0, flushed 3538

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list