mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
show type number when packet is of the wrong type
Original commit message from CVS: show type number when packet is of the wrong type
This commit is contained in:
parent
87e1c8a9a3
commit
2a227c6279
1 changed files with 4 additions and 2 deletions
|
@ -381,7 +381,8 @@ validate_error:
|
|||
is_not_buffer:
|
||||
{
|
||||
GST_ELEMENT_ERROR (this, RESOURCE, READ, (NULL),
|
||||
("GDP packet contains something that is not a buffer"));
|
||||
("GDP packet contains something that is not a buffer (type %d)",
|
||||
gst_dp_header_payload_type (header)));
|
||||
g_free (header);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
@ -461,7 +462,8 @@ header_validate_error:
|
|||
is_not_caps:
|
||||
{
|
||||
GST_ELEMENT_ERROR (this, RESOURCE, READ, (NULL),
|
||||
("GDP packet contains something that is not a caps"));
|
||||
("GDP packet contains something that is not a caps (type %d)",
|
||||
gst_dp_header_payload_type (header)));
|
||||
g_free (header);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue