diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-06-30 23:06:29 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-07-04 12:49:03 +0200 |
commit | ddb962ac38306b4fca90062822efd01662f5ef80 (patch) | |
tree | ad36e9d59c22c83cebf40a4ddaf802e11c803351 /ext | |
parent | 57f9815fa4aa328bd9b1475ac322486a2b4c4af8 (diff) | |
download | gstreamer-plugins-bad-ddb962ac38306b4fca90062822efd01662f5ef80.tar.gz |
openh264enc: Use a constant SPS/PPS ID no matter if openh264 older or newer than 1.4 is used
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openh264/gstopenh264enc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openh264/gstopenh264enc.cpp b/ext/openh264/gstopenh264enc.cpp index c56fe899c..d48193fc4 100644 --- a/ext/openh264/gstopenh264enc.cpp +++ b/ext/openh264/gstopenh264enc.cpp @@ -716,7 +716,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; |