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

Function packet_queue_abort

ffplay.c:352–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352static void packet_queue_abort(PacketQueue *q)
353{
354 SDL_LockMutex(q->mutex);
355
356 q->abort_request = 1;
357
358 SDL_CondSignal(q->cond);
359
360 SDL_UnlockMutex(q->mutex);
361}
362
363/* return < 0 if aborted, 0 if no packet and > 0 if packet. */
364static int packet_queue_get(PacketQueue *q, AVPacket *pkt, int block)

Callers 1

stream_component_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected