FFmpeg: Support negative cts offsets for reordering codecs
Reordering codecs can start with packets with negative dts. This was
handled by clamping the dts to pts or 0, but this would break dts
monotonicity and packets would be rejected by muxer.
Add check and setting of negative_cts_offsets muxer option to allow
muxer to handle these timestamps without us clamping them. This only
affects MOV/MP4 muxers.
Amends commit ec433a64c953b433f6b61d272382e7a12c5cd7e5
Pick-to: 6.12
Task-number: QTBUG-147731
Change-Id: I67f748b160d25516c82748625f858af319ec3be2
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>