mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
openh264enc: Use a constant SPS/PPS ID no matter if openh264 older or newer than 1.4 is used
This commit is contained in:
parent
4cba0d5fab
commit
f5f437b707
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ gst_openh264enc_set_format (GstVideoEncoder * encoder,
|
|||
#if OPENH264_MINOR >= 4
|
||||
enc_params.eSpsPpsIdStrategy = CONSTANT_ID;
|
||||
#else
|
||||
enc_params.bEnableSpsPpsIdAddition = 1;
|
||||
enc_params.bEnableSpsPpsIdAddition = 0;
|
||||
#endif
|
||||
enc_params.bPrefixNalAddingCtrl = 0;
|
||||
enc_params.fMaxFrameRate = fps_n * 1.0 / fps_d;
|
||||
|
|
Loading…
Reference in a new issue