gstreamer: Update format specifier in Request Pad template
Change format specifier %s to %u in name template field of request pad template. Pad names are as follows, src_0, src_1, etc. So, instead of using string format specifier, use unsigned integer format specifier. Signed-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
committed by
Paul Elder
parent
5fd4bb0337
commit
0e8d8fbd4e
@@ -149,7 +149,7 @@ GstStaticPadTemplate src_template = {
|
||||
|
||||
/* More pads can be requested in state < PAUSED */
|
||||
GstStaticPadTemplate request_src_template = {
|
||||
"src_%s", GST_PAD_SRC, GST_PAD_REQUEST, TEMPLATE_CAPS
|
||||
"src_%u", GST_PAD_SRC, GST_PAD_REQUEST, TEMPLATE_CAPS
|
||||
};
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user