1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

avfilter/f_zmq: fix graph argument

Fixes regression since d566a37003.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-08-16 09:53:22 -03:00
parent 7b723ebd5a
commit 211c88b9d5

View File

@ -30,6 +30,7 @@
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
#include "video.h"
@ -176,7 +177,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *ref)
av_log(ctx, AV_LOG_VERBOSE,
"Processing command #%d target:%s command:%s arg:%s\n",
zmq->command_count, cmd.target, cmd.command, cmd.arg);
ret = avfilter_graph_send_command(inlink->graph,
ret = avfilter_graph_send_command(ff_filter_link(inlink)->graph,
cmd.target, cmd.command, cmd.arg,
cmd_buf, sizeof(cmd_buf),
AVFILTER_CMD_FLAG_ONE);