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
@ -670,7 +670,7 @@ gst_openh264enc_set_format (GstVideoEncoder * encoder,
|
|||||||
#if OPENH264_MINOR >= 4
|
#if OPENH264_MINOR >= 4
|
||||||
enc_params.eSpsPpsIdStrategy = CONSTANT_ID;
|
enc_params.eSpsPpsIdStrategy = CONSTANT_ID;
|
||||||
#else
|
#else
|
||||||
enc_params.bEnableSpsPpsIdAddition = 1;
|
enc_params.bEnableSpsPpsIdAddition = 0;
|
||||||
#endif
|
#endif
|
||||||
enc_params.bPrefixNalAddingCtrl = 0;
|
enc_params.bPrefixNalAddingCtrl = 0;
|
||||||
enc_params.fMaxFrameRate = fps_n * 1.0 / fps_d;
|
enc_params.fMaxFrameRate = fps_n * 1.0 / fps_d;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user