mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 856361. Part 10: Address review comments.
This commit is contained in:
parent
0c0594a7e4
commit
d47e0a1048
@ -620,7 +620,6 @@ void MediaDecoderStateMachine::SendStreamData()
|
||||
return;
|
||||
|
||||
if (!mDecoder->IsSameOriginMedia()) {
|
||||
printf("MediaDecoderStateMachine::SendStreamData Same-origin check failed (decoder %p)!!!\n", mDecoder.get());
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -298,6 +298,11 @@ protected:
|
||||
|
||||
if (inputStartTicks < 0) {
|
||||
// Data before the start of the track is just null.
|
||||
// We have to add a small amount of delay to ensure that there is
|
||||
// always a sample available if we see an interval that contains a
|
||||
// tick boundary on the output stream's timeline but does not contain
|
||||
// a tick boundary on the input stream's timeline. 1 tick delay is
|
||||
// necessary and sufficient.
|
||||
segment->AppendNullData(-inputStartTicks);
|
||||
inputStartTicks = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user