mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
padtemplate: Allow %u as conversion modifier additional to %d and %s
This commit is contained in:
parent
c1a75a0b45
commit
d307513735
1 changed files with 2 additions and 2 deletions
|
@ -296,9 +296,9 @@ name_is_valid (const gchar * name, GstPadPresence presence)
|
||||||
" allowed in GST_PAD_REQUEST padtemplate", name);
|
" allowed in GST_PAD_REQUEST padtemplate", name);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if (str && (*(str + 1) != 's' && *(str + 1) != 'd')) {
|
if (str && (*(str + 1) != 's' && *(str + 1) != 'd' && *(str + 1) != 'u')) {
|
||||||
g_warning ("invalid name template %s: conversion specification must be of"
|
g_warning ("invalid name template %s: conversion specification must be of"
|
||||||
" type '%%d' or '%%s' for GST_PAD_REQUEST padtemplate", name);
|
" type '%%d', '%%u' or '%%s' for GST_PAD_REQUEST padtemplate", name);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if (str && (*(str + 2) != '\0')) {
|
if (str && (*(str + 2) != '\0')) {
|
||||||
|
|
Loading…
Reference in a new issue