Commit a055be7
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 f5afad2 commit a055be7
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 | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| |||
0 commit comments