diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/encode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encode.c b/src/encode.c index 88d6707..00eb791 100644 --- a/src/encode.c +++ b/src/encode.c @@ -179,6 +179,8 @@ stp_encode_from_msg (TranscodeServerCtx *ctx) fakesink = gst_element_factory_make ("fakesink", "fakesink"); #endif + /* Ensure that the stream is always realtime */ + g_object_set (fakesink, "sync", TRUE, NULL); gst_bin_add_many (GST_BIN (ctx->pipeline), encodebin, tee, q1, fakesink, NULL); gst_element_link_many (encodebin, tee, q1, fakesink, NULL); |