mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
inter: use appropriate printf format for gsize
This commit is contained in:
parent
680c13f993
commit
775cf6ab3e
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
* |[
|
* |[
|
||||||
* gst-launch -v audiotestsrc ! queue ! interaudiosink
|
* gst-launch -v audiotestsrc ! queue ! interaudiosink
|
||||||
* ]|
|
* ]|
|
||||||
*
|
*
|
||||||
* The interaudiosink element cannot be used effectively with gst-launch,
|
* The interaudiosink element cannot be used effectively with gst-launch,
|
||||||
* as it requires a second pipeline in the application to receive the
|
* as it requires a second pipeline in the application to receive the
|
||||||
* audio.
|
* audio.
|
||||||
|
@ -229,7 +229,7 @@ gst_inter_audio_sink_render (GstBaseSink * sink, GstBuffer * buffer)
|
||||||
GstInterAudioSink *interaudiosink = GST_INTER_AUDIO_SINK (sink);
|
GstInterAudioSink *interaudiosink = GST_INTER_AUDIO_SINK (sink);
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
GST_DEBUG ("render %d", gst_buffer_get_size (buffer));
|
GST_DEBUG ("render %" G_GSIZE_FORMAT, gst_buffer_get_size (buffer));
|
||||||
|
|
||||||
g_mutex_lock (interaudiosink->surface->mutex);
|
g_mutex_lock (interaudiosink->surface->mutex);
|
||||||
n = gst_adapter_available (interaudiosink->surface->audio_adapter) / 4;
|
n = gst_adapter_available (interaudiosink->surface->audio_adapter) / 4;
|
||||||
|
|
Loading…
Reference in a new issue