diff --git a/docs/design/design-decodebin.txt b/docs/design/design-decodebin.txt index 7ca84b6cad..31b8987df9 100644 --- a/docs/design/design-decodebin.txt +++ b/docs/design/design-decodebin.txt @@ -148,8 +148,8 @@ differences: * Multiple streams handling. The element handles queueing data on more than one stream at once. To - achieve such a feature it has request sink pads (sink_%d) and 'sometimes' src - pads (src_%d). + achieve such a feature it has request sink pads (sink_%u) and 'sometimes' src + pads (src_%u). When requesting a given sinkpad, the associated srcpad for that stream will be created. Ex: requesting sink_1 will generate src_1. diff --git a/docs/design/design-encoding.txt b/docs/design/design-encoding.txt index dda79addf6..942b734947 100644 --- a/docs/design/design-encoding.txt +++ b/docs/design/design-encoding.txt @@ -87,7 +87,7 @@ B. Goals ... vsrcpad = gst_element_get_src_pad(source, "src1"); - vsinkpad = gst_element_get_request_pad (encbin, "video_%d"); + vsinkpad = gst_element_get_request_pad (encbin, "video_%u"); gst_pad_link(vsrcpad, vsinkpad); ...