videopool: display expected size in warning message
Display the size computed from the caps when rejecting a pool configuration because the buffer size is too small. https://bugzilla.gnome.org/show_bug.cgi?id=796768
This commit is contained in:
parent
28e5f81021
commit
173e2d8db3
@ -221,7 +221,8 @@ wrong_caps:
|
|||||||
wrong_size:
|
wrong_size:
|
||||||
{
|
{
|
||||||
GST_WARNING_OBJECT (pool,
|
GST_WARNING_OBJECT (pool,
|
||||||
"Provided size is to small for the caps: %u", size);
|
"Provided size is to small for the caps: %u < %" G_GSIZE_FORMAT, size,
|
||||||
|
info.size);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
failed_to_align:
|
failed_to_align:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user