mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
mpegtsmux: Fix mistake on previous commit
Use the correct variables and variable format in the warning message
This commit is contained in:
parent
58b9479423
commit
6e1f2cf392
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue