From 2328263419e1bbb6fa11e871a402fc067a01862b Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Mon, 20 Mar 2017 13:43:06 -0700 Subject: [PATCH] design: encoding: drop escaping leftover Additionally: - Make code block format explicit - Drop needless padding --- markdown/design/encoding.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/markdown/design/encoding.md b/markdown/design/encoding.md index b0fa12060c..10b6e569b5 100644 --- a/markdown/design/encoding.md +++ b/markdown/design/encoding.md @@ -61,14 +61,14 @@ Whenever a request pad is created, encodebin will: This allows reducing the code to the minimum for applications wishing to encode a source for a given profile: -``` - encbin = gst_element_factory_make ("encodebin, NULL); - g_object_set (encbin, "profile", "N900/H264 HQ", NULL); - gst_element_link (encbin, filesink); +```c +encbin = gst_element_factory_make ("encodebin, NULL); +g_object_set (encbin, "profile", "N900/H264 HQ", NULL); +gst_element_link (encbin, filesink); - vsrcpad = gst_element_get_src_pad (source, "src1"); - vsinkpad = gst_element_get_request\_pad (encbin, "video\_%u"); - gst_pad_link (vsrcpad, vsinkpad); +vsrcpad = gst_element_get_src_pad (source, "src1"); +vsinkpad = gst_element_get_request_pad (encbin, "video\_%u"); +gst_pad_link (vsrcpad, vsinkpad); ``` ### Explanation of the Various stages in EncodeBin