The hardware decoders need it and the packetizer can fill it for us.
(cherry picked from commit
fe8b4bf937ad08d17d69de07ae21e9f326e2bd96) (edited)
edited:
- the extradata handling is missing many backports, adapting the to 3.0 code
Gbp-Pq: Name 0110-demux-mp4-force-the-packetizer-to-fill-AV1-extradata.patch
BOXDATA(p_av1C)->i_av1C );
p_track->fmt.i_extra = BOXDATA(p_av1C)->i_av1C;
}
+ if (p_track->fmt.i_extra <= 4)
+ p_track->fmt.b_packetized = false; // force full extradata by the packetizer
}
}
break;