mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue