Commit c3e1879
Mark Kendall
Pause the RingBuffer before pausing the decoder.
If the RingBuffer has reached, or is very close to, the end of the file
then it may be in a wait state. Pausing the RingBuffer clears this wait
state and hence frees up the decoder thread so that it can be paused
quickly.1 parent f776c64 commit c3e1879
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | 344 | | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
0 commit comments