mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
baseaudiodecoder: debug format fix
This commit is contained in:
parent
8b6109cdbe
commit
cedbedbbca
1 changed files with 1 additions and 2 deletions
|
@ -743,8 +743,7 @@ gst_base_audio_decoder_finish_frame (GstBaseAudioDecoder * dec, GstBuffer * buf,
|
||||||
g_assert (GST_CLOCK_TIME_IS_VALID (priv->base_ts));
|
g_assert (GST_CLOCK_TIME_IS_VALID (priv->base_ts));
|
||||||
next_ts = priv->base_ts +
|
next_ts = priv->base_ts +
|
||||||
gst_util_uint64_scale (samples, GST_SECOND, ctx->state.rate);
|
gst_util_uint64_scale (samples, GST_SECOND, ctx->state.rate);
|
||||||
GST_LOG_OBJECT (dec, "buffer is %" G_GUINT64_FORMAT
|
GST_LOG_OBJECT (dec, "buffer is %d samples past base_ts %" GST_TIME_FORMAT
|
||||||
" samples past base_ts %" GST_TIME_FORMAT
|
|
||||||
", expected ts %" GST_TIME_FORMAT, samples,
|
", expected ts %" GST_TIME_FORMAT, samples,
|
||||||
GST_TIME_ARGS (priv->base_ts), GST_TIME_ARGS (next_ts));
|
GST_TIME_ARGS (priv->base_ts), GST_TIME_ARGS (next_ts));
|
||||||
diff = GST_CLOCK_DIFF (next_ts, ts);
|
diff = GST_CLOCK_DIFF (next_ts, ts);
|
||||||
|
|
Loading…
Reference in a new issue