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

Function packet_queue_init

ffplay.c:288–294  ·  view source on GitHub ↗

packet queue handling */

Source from the content-addressed store, hash-verified

286
287/* packet queue handling */
288static void packet_queue_init(PacketQueue *q)
289{
290 memset(q, 0, sizeof(PacketQueue));
291 q->mutex = SDL_CreateMutex();
292 q->cond = SDL_CreateCond();
293 packet_queue_put(q, &flush_pkt);
294}
295
296static void packet_queue_flush(PacketQueue *q)
297{

Callers 1

stream_component_openFunction · 0.85

Calls 1

packet_queue_putFunction · 0.85

Tested by

no test coverage detected