MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / frame_queue_next

Function frame_queue_next

fftools/ffplay.c:788–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788static void frame_queue_next(FrameQueue *f)
789{
790 if (f->keep_last && !f->rindex_shown) {
791 f->rindex_shown = 1;
792 return;
793 }
794 frame_queue_unref_item(&f->queue[f->rindex]);
795 if (++f->rindex == f->max_size)
796 f->rindex = 0;
797 SDL_LockMutex(f->mutex);
798 f->size--;
799 SDL_CondSignal(f->cond);
800 SDL_UnlockMutex(f->mutex);
801}
802
803/* return the number of undisplayed frames in the queue */
804static int frame_queue_nb_remaining(FrameQueue *f)

Callers 2

video_refreshFunction · 0.85
audio_decode_frameFunction · 0.85

Calls 1

frame_queue_unref_itemFunction · 0.85

Tested by

no test coverage detected