projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea5d31
)
pulsesrc: Only print caps if they're provided
author
Sjoerd Simons
<sjoerd@luon.net>
Mon, 27 Aug 2012 07:00:45 +0000
(09:00 +0200)
committer
Sjoerd Simons
<sjoerd@luon.net>
Mon, 27 Aug 2012 07:00:45 +0000
(09:00 +0200)
ext/pulse/pulsesrc.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulsesrc.c
b/ext/pulse/pulsesrc.c
index
67629ec
..
32037df
100644
(file)
--- a/
ext/pulse/pulsesrc.c
+++ b/
ext/pulse/pulsesrc.c
@@
-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);