mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
pulsesrc: Only print caps if they're provided
This commit is contained in:
parent
6ea5d31456
commit
01665d9da3
1 changed files with 2 additions and 1 deletions
|
@ -1228,9 +1228,10 @@ gst_pulsesrc_create_stream (GstPulseSrc * pulsesrc, GstCaps ** caps,
|
|||
new_spec.info.channels);
|
||||
gst_caps_unref (*caps);
|
||||
*caps = gst_audio_info_to_caps (&new_spec.info);
|
||||
|
||||
GST_DEBUG_OBJECT (pulsesrc, "Caps are %" GST_PTR_FORMAT, *caps);
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (pulsesrc, "Caps are %" GST_PTR_FORMAT, *caps);
|
||||
|
||||
pa_stream_set_state_callback (pulsesrc->stream, gst_pulsesrc_stream_state_cb,
|
||||
pulsesrc);
|
||||
|
|
Loading…
Reference in a new issue