summaryrefslogtreecommitdiff
path: root/modules/gst_video1/encode.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gst_video1/encode.c')
-rw-r--r--modules/gst_video1/encode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gst_video1/encode.c b/modules/gst_video1/encode.c
index 045efad..b563d07 100644
--- a/modules/gst_video1/encode.c
+++ b/modules/gst_video1/encode.c
@@ -225,6 +225,7 @@ static int pipeline_init(struct videnc_state *st, const struct vidsz *size)
"do-timestamp=TRUE max-bytes=1000000 ! "
"videoparse width=%d height=%d format=i420 framerate=%d/1 ! "
"x264enc byte-stream=TRUE rc-lookahead=0 "
+ "tune=zerolatency speed-preset=ultrafast "
"sync-lookahead=0 bitrate=%d ! "
"appsink name=sink emit-signals=TRUE drop=TRUE",
size->w, size->h,