Commit 4df762ac authored by Benjamin Berg's avatar Benjamin Berg
Browse files

wfd: Enable QOS handling in OpenH264 encoder

parent 1d22207e
......@@ -110,6 +110,7 @@ wfd_media_factory_create_element (GstRTSPMediaFactory *factory, const GstRTSPUrl
encoder = gst_element_factory_make ("openh264enc", "wfd-encoder");
success &= gst_bin_add (bin, encoder);
g_object_set (encoder,
"qos", TRUE,
"multi-thread", 1,
"usage-type", 1, /* screen */
"slice-mode", 1, /* n-slices */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment