design: encoding: drop escaping leftover

Additionally:

- Make code block format explicit
- Drop needless padding
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2017-03-20 13:43:06 -07:00
parent 46c2f754fa
commit 2328263419

View file

@ -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