summaryrefslogtreecommitdiff
path: root/ext/openh264
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-11-24 19:21:29 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-11-24 19:21:29 +0100
commit9e700adf832b7604d1babf3e0de45e22dfeb869f (patch)
tree64a9ce7df19d5ab206904396f0e216b035ee5895 /ext/openh264
parentc43b9aad6625e5fd4ace2b11812b934ce341f09a (diff)
downloadgstreamer-plugins-bad-9e700adf832b7604d1babf3e0de45e22dfeb869f.tar.gz
openh264enc: Use a fixed number of slices by default
Diffstat (limited to 'ext/openh264')
-rw-r--r--ext/openh264/gstopenh264enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openh264/gstopenh264enc.cpp b/ext/openh264/gstopenh264enc.cpp
index 31eb0fdaa..89a505ed5 100644
--- a/ext/openh264/gstopenh264enc.cpp
+++ b/ext/openh264/gstopenh264enc.cpp
@@ -168,7 +168,7 @@ static void gst_openh264enc_set_rate_control (GstOpenh264Enc * openh264enc,
#define DEFAULT_BACKGROUND_DETECTION TRUE
#define DEFAULT_ADAPTIVE_QUANTIZATION TRUE
#define DEFAULT_SCENE_CHANGE_DETECTION TRUE
-#define DEFAULT_SLICE_MODE SM_AUTO_SLICE
+#define DEFAULT_SLICE_MODE SM_FIXEDSLCNUM_SLICE
#define DEFAULT_NUM_SLICES 1
enum