• Andreas Rheinhardt's avatar
    cbs_h264: Improve adding SEI messages · ae49993c
    Andreas Rheinhardt authored
    Up until now, if an SEI messages was to be added to a fragment, it was
    tried to add said SEI message to the first SEI NAL unit of the fragment
    and if this SEI NAL unit already contained H264_NAL_SEI SEI messages (an
    arbitrary limit imposed by cbs_h264), adding failed; if there was no SEI
    NAL unit, a new one has been added.
    With this commit, the fragment is searched for further NAL units to add
    the SEI messages to. If all of them are full, a new SEI NAL unit is added.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    ae49993c
cbs_h2645.c 49.9 KB