mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
qtdemux: Add a comment why only positive cslg shifts are considered
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1294>
This commit is contained in:
parent
a33e30cfc4
commit
a6f3391c81
1 changed files with 9 additions and 1 deletions
|
@ -477,7 +477,15 @@ struct _QtDemuxStream
|
|||
guint32 ctts_count;
|
||||
gint32 ctts_soffset;
|
||||
|
||||
/* cslg */
|
||||
/* cslg composition_to_dts_shift or based on the smallest negative
|
||||
* composition time offset.
|
||||
*
|
||||
* This is unsigned because only negative composition time offsets /
|
||||
* positive composition_to_dts_shift matter here. In all other cases,
|
||||
* DTS/PTS can be inferred directly without ending up with PTS>DTS.
|
||||
*
|
||||
* See 14496-12 6.4
|
||||
*/
|
||||
guint64 cslg_shift;
|
||||
|
||||
/* fragmented */
|
||||
|
|
Loading…
Reference in a new issue