mpegtsmux: Fix mistake on previous commit

Use the correct variables and variable format in the warning
message
This commit is contained in:
Thiago Santos 2010-01-12 14:51:02 -03:00
parent 58b9479423
commit 6e1f2cf392

View file

@ -192,9 +192,10 @@ mpegtsmux_prepare_h264 (GstBuffer * buf, MpegTsPadData * data, MpegTsMux * mux)
}
if (out_offset > GST_BUFFER_SIZE (out_buf)) {
GST_WARNING_OBJECT (mux, "Calculated buffer size %u is greater than max "
"expected size %u, using max expected size (Input might not be in "
"avc format", out_buf, GST_BUFFER_SIZE (out_buf));
GST_WARNING_OBJECT (mux, "Calculated buffer size %" G_GSIZE_FORMAT
" is greater than max expected size %u, "
"using max expected size (Input might not be in "
"avc format", out_offset, GST_BUFFER_SIZE (out_buf));
out_offset = GST_BUFFER_SIZE (out_buf);
}
GST_BUFFER_SIZE (out_buf) = out_offset;