GST_LOG_OBJECT (splitmux,
"Pad %" GST_PTR_FORMAT " buffer with run TS %" GST_STIME_FORMAT
- " size %" G_GSIZE_FORMAT,
+ " size %" G_GUINT64_FORMAT,
pad, GST_STIME_ARGS (ctx->out_running_time), buf_info->buf_size);
if (splitmux->opening_first_fragment) {
handle_gathered_gop (GstSplitMuxSink * splitmux)
{
GList *cur;
- gsize queued_bytes = 0;
+ guint64 queued_bytes = 0;
GstClockTimeDiff queued_time = 0;
/* Assess if the multiqueue contents overflowed the current file */
queued_bytes += tmpctx->in_bytes;
}
+ GST_LOG_OBJECT (splitmux, " queued_bytes %" G_GUINT64_FORMAT
+ " splitmuxsink->mux_start_bytes %" G_GUINT64_FORMAT, queued_bytes,
+ splitmux->mux_start_bytes);
g_assert (queued_bytes >= splitmux->mux_start_bytes);
g_assert (queued_time >= splitmux->mux_start_time);
queued_bytes += (queued_bytes * splitmux->mux_overhead);
GST_LOG_OBJECT (splitmux, "mq at TS %" GST_STIME_FORMAT
- " bytes %" G_GSIZE_FORMAT, GST_STIME_ARGS (queued_time), queued_bytes);
+ " bytes %" G_GUINT64_FORMAT, GST_STIME_ARGS (queued_time), queued_bytes);
/* Check for overrun - have we output at least one byte and overrun
* either threshold? */
} else {
/* No overflow */
GST_LOG_OBJECT (splitmux,
- "This GOP didn't overflow the fragment. Bytes sent %" G_GSIZE_FORMAT
+ "This GOP didn't overflow the fragment. Bytes sent %" G_GUINT64_FORMAT
" queued %" G_GSIZE_FORMAT " time %" GST_STIME_FORMAT " Continuing.",
splitmux->muxed_out_bytes - splitmux->mux_start_bytes,
queued_bytes, GST_STIME_ARGS (queued_time));
}
GST_DEBUG_OBJECT (pad, "Buf TS %" GST_STIME_FORMAT
- " total in_bytes %" G_GSIZE_FORMAT,
+ " total in_bytes %" G_GUINT64_FORMAT,
GST_STIME_ARGS (buf_info->run_ts), ctx->in_bytes);
loop_again = TRUE;
{
gboolean keyframe;
GstClockTimeDiff run_ts;
- gsize buf_size;
+ guint64 buf_size;
GstClockTime duration;
} MqStreamBuf;
GstClockTimeDiff in_running_time;
GstClockTimeDiff out_running_time;
- gsize in_bytes;
+ guint64 in_bytes;
GQueue queued_bufs;
GstClockTimeDiff max_out_running_time;
GstClockTimeDiff muxed_out_time;
- gsize muxed_out_bytes;
+ guint64 muxed_out_bytes;
gboolean have_muxed_something;
GstClockTimeDiff mux_start_time;
- gsize mux_start_bytes;
+ guint64 mux_start_bytes;
GstClockTime last_frame_duration;
gboolean opening_first_fragment;