[Bug 747850] h264parser/h264parse: Handle trailing 0s in NALU

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 30 02:02:02 PDT 2015


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

--- Comment #3 from Nicolas Huet <nicolas.huet at parrot.com> ---
Created attachment 302631
  --> https://bugzilla.gnome.org/attachment.cgi?id=302631&action=edit
Updating patch removing the trailing 0 when there is no transformation

Discont is a regression introduced by
https://bugzilla.gnome.org/show_bug.cgi?id=721384

Your patch keep the trailling 0 at the end of the NAL when there is no
"transformation" of the data: NAL to NAL for example.
It would reintroduce the spec issue (the last byte of a NAL shall not be
0x00/Thiago Sousa Santos). 

Removing bytes means we need to modify the input buffer. I modified your patch
to push the NAL units without the trailing 0 in "frame_out" adapter when there
is no transformation.

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