mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
openh264enc: Fix compilation with openh264 v2.0
As OpenH264 increased its version to 2.0 the guard for structure member is not valid. This patch will fix the compilation with gst-build and openh264.
This commit is contained in:
parent
9d6e2e364c
commit
d2f6facbfb
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ gst_openh264enc_set_format (GstVideoEncoder * encoder,
|
|||
enc_params.bEnableSceneChangeDetect = openh264enc->scene_change_detection;
|
||||
enc_params.bEnableFrameSkip = openh264enc->enable_frame_skip;
|
||||
enc_params.bEnableLongTermReference = 0;
|
||||
#if OPENH264_MINOR >= 4
|
||||
#if (OPENH264_MAJOR > 1 || (OPENH264_MAJOR == 1 && OPENH264_MINOR >= 4))
|
||||
enc_params.eSpsPpsIdStrategy = CONSTANT_ID;
|
||||
#else
|
||||
enc_params.bEnableSpsPpsIdAddition = 0;
|
||||
|
|
Loading…
Reference in a new issue