mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 09:12:19 +00:00
[MOVED FROM GST-P-FARSIGHT] Check the size of the input buffer, not the output buffer
This commit is contained in:
parent
a67aa17c6d
commit
72c979d84b
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ gst_siren_dec_chain (GstPad *pad, GstBuffer *buf)
|
|||
return GST_FLOW_OK;
|
||||
}
|
||||
|
||||
if (size % 40 != 0)
|
||||
if (GST_BUFFER_SIZE (buf) % 40 != 0)
|
||||
GST_LOG_OBJECT (dec, "Got buffer with size not a multiple for frame size,"
|
||||
" ignoring last %u bytes", GST_BUFFER_SIZE (buf) % 40);
|
||||
|
||||
|
|
Loading…
Reference in a new issue