Skip to content

Commit b498dd0

Browse files
committed
upipe_video_blank: force configured flow definition
1 parent da287b0 commit b498dd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/upipe-modules/upipe_video_blank.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (C) 2017-2019 OpenHeadend S.A.R.L.
3+
* Copyright (C) 2025 EasyTools
34
*
45
* Authors: Arnaud de Turckheim
56
*
@@ -387,6 +388,8 @@ static int upipe_vblk_set_pic_real(struct upipe *upipe, struct uref *uref)
387388
static int upipe_vblk_check_flow_format(struct upipe *upipe,
388389
struct uref *flow_format)
389390
{
391+
struct upipe_vblk *upipe_vblk = upipe_vblk_from_upipe(upipe);
392+
uref_attr_import(flow_format, upipe_vblk->flow_attr);
390393
uref_pic_flow_delete_surface_type(flow_format);
391394
upipe_vblk_require_ubuf_mgr(upipe, flow_format);
392395
return UBASE_ERR_NONE;

0 commit comments

Comments
 (0)