avfilter/f_zmq: fix graph argument

Fixes regression since d566a37003.

Signed-off-by: James Almer <jamrial@gmail.com>
release/7.1
James Almer 5 months ago
parent 7b723ebd5a
commit 211c88b9d5
  1. 3
      libavfilter/f_zmq.c

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

Loading…
Cancel
Save