diff options
Diffstat (limited to 'gst/siren/gstsirendec.c')
-rw-r--r-- | gst/siren/gstsirendec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/siren/gstsirendec.c b/gst/siren/gstsirendec.c index 3b66c5d4..97f91778 100644 --- a/gst/siren/gstsirendec.c +++ b/gst/siren/gstsirendec.c @@ -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); |