| 776 | } |
| 777 | |
| 778 | static void frame_queue_push(FrameQueue *f) |
| 779 | { |
| 780 | if (++f->windex == f->max_size) |
| 781 | f->windex = 0; |
| 782 | SDL_LockMutex(f->mutex); |
| 783 | f->size++; |
| 784 | SDL_CondSignal(f->cond); |
| 785 | SDL_UnlockMutex(f->mutex); |
| 786 | } |
| 787 | |
| 788 | static void frame_queue_next(FrameQueue *f) |
| 789 | { |
no outgoing calls
no test coverage detected