Commit f7120b4
authored
[GSTMediaPlayer] Make fake preroll asynchronous (#1232)
1) Call didPreroll() also for <video> elements that are audio-only
2) Make didPreroll() call async and put in onto HTML media element
task queue to make sure it is executed after dispatching
'seeking' event to JS so app has a chance to note HTMLmedia.seeking
attribute is 'true'1 parent 7f261cd commit f7120b4
1 file changed
Lines changed: 11 additions & 2 deletions
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
272 | 281 | | |
273 | 282 | | |
274 | 283 | | |
| |||
0 commit comments