openh264enc: Use a constant SPS/PPS ID no matter if openh264 older or newer than...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 30 Jun 2016 21:06:29 +0000 (23:06 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 30 Jun 2016 21:30:13 +0000 (23:30 +0200)
ext/openh264/gstopenh264enc.cpp

index 1d7cea5..8d88117 100644 (file)
@@ -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;