Commit a7edb51
committed
[MSE][GStreamer] Only extend first sample when it's a sync sample
This change, already present upstream (where edit list support has been
reverted), only applies the "sample extension to start from zero when
DTS = 0 and PTS > 0" if the sample is a sync one.
Without this, problems happened on MPEG TS streams transmuxed to MSE,
where two consecutive samples were having DTS=0 and the correction on
the second one broke the first one. After some attempts to fix the
problem, we ended up realizing that just by applying the correction on
sync samples would solve the problem.
See: #16011 parent 5fab8b8 commit a7edb51
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| |||
0 commit comments