This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit c060100ff322a78b58ff109790a26cc674a3a09f Author: Michael Niedermayer <[email protected]> AuthorDate: Thu Oct 15 03:53:15 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun Oct 18 03:19:28 2026 +0000 ffplay: start the packet queue of a decoder when initializing it This allows queuing the packets of a decoder before its thread starts. Assisted-by: Claude --- fftools/ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index 34fe21ba8c..fed54fe3ae 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -611,6 +611,7 @@ static int decoder_init(Decoder *d, AVCodecContext *avctx, PacketQueue *queue, S d->empty_queue_cond = empty_queue_cond; d->start_pts = AV_NOPTS_VALUE; d->pkt_serial = -1; + packet_queue_start(d->queue); return 0; } @@ -2320,7 +2321,6 @@ static int audio_thread(void *arg) static int decoder_start(Decoder *d, int (*fn)(void *), const char *thread_name, void* arg) { - packet_queue_start(d->queue); d->decoder_tid = SDL_CreateThread(fn, thread_name, arg); if (!d->decoder_tid) { av_log(NULL, AV_LOG_ERROR, "SDL_CreateThread(): %s\n", SDL_GetError()); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
