mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
configure: check for more openh264 API that we need
This commit is contained in:
parent
6df60cfb6a
commit
392f91a61b
1 changed files with 3 additions and 1 deletions
|
@ -2583,8 +2583,10 @@ AG_GST_CHECK_FEATURE(OPENH264, [openh264 library], openh264, [
|
|||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <wels/codec_app_def.h>
|
||||
#include <wels/codec_api.h>]], [[
|
||||
SFrameBSInfo frame_info;
|
||||
SEncParamExt enc_params;
|
||||
enc_params.iInputCsp = videoFormatI420;
|
||||
int *p = (int *) &frame_info.eFrameType;
|
||||
*p = 0;
|
||||
*p = RC_LOW_BW_MODE;
|
||||
]])], [
|
||||
AC_MSG_RESULT(yes)
|
||||
OPENH264_LIBS="-lopenh264 $PTHREAD_LIBS"
|
||||
|
|
Loading…
Reference in a new issue