Skip to content

Commit

Permalink
upipe_avcdec: show hardware device
Browse files Browse the repository at this point in the history
  • Loading branch information
nto authored and cmassiot committed Feb 19, 2024
1 parent 69320d5 commit 25e1991
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/upipe-av/upipe_avcodec_decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,9 @@ static bool upipe_avcdec_do_av_deal(struct upipe *upipe)
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(58, 11, 100)
context->extra_hw_frames = UPIPE_AV_EXTRA_HW_FRAMES;
#endif
upipe_notice_va(upipe, "created %s hw device context",
av_hwdevice_get_type_name(upipe_avcdec->hw_device_type));
upipe_notice_va(upipe, "created %s hw device context (%s)",
av_hwdevice_get_type_name(upipe_avcdec->hw_device_type),
upipe_avcdec->hw_device ?: "default");
}

/* open new context */
Expand Down

0 comments on commit 25e1991

Please sign in to comment.