From: Sebastian Dröge Date: Thu, 30 Jun 2016 21:06:29 +0000 (+0200) Subject: openh264enc: Use a constant SPS/PPS ID no matter if openh264 older or newer than... X-Git-Tag: 1.10.4~522 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5f437b70747d8f3e276ba9b66fc6aeaeeba75f4;p=platform%2Fupstream%2Fgst-plugins-bad.git openh264enc: Use a constant SPS/PPS ID no matter if openh264 older or newer than 1.4 is used --- diff --git a/ext/openh264/gstopenh264enc.cpp b/ext/openh264/gstopenh264enc.cpp index 1d7cea5..8d88117 100644 --- a/ext/openh264/gstopenh264enc.cpp +++ b/ext/openh264/gstopenh264enc.cpp @@ -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;