summaryrefslogtreecommitdiffstats
path: root/examples/dynparams
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2005-02-02 08:14:01 +0000
committerDavid Schleef <ds@schleef.org>2005-02-02 08:14:01 +0000
commit7438894f77941806cd32f2f83dd853a9f4d7bc37 (patch)
treee063b17a38594b7d8241162b867baec12e8e19c9 /examples/dynparams
parentb7c895ea8d3a891695bee439ef14402a7666d4c2 (diff)
downloadgst-plugins-bad-7438894f77941806cd32f2f83dd853a9f4d7bc37.tar.gz
gst-plugins-bad-7438894f77941806cd32f2f83dd853a9f4d7bc37.tar.bz2
gst-plugins-bad-7438894f77941806cd32f2f83dd853a9f4d7bc37.zip
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
Original commit message from CVS: * configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997) * examples/capsfilter/capsfilter1.c: (main): * examples/dynparams/filter.c: (create_ui): * examples/seeking/cdparanoia.c: (get_track_info), (main): * examples/seeking/chained.c: (main): * examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline), (make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline): * examples/seeking/spider_seek.c: (make_spider_pipeline): * examples/switch/switcher.c: (main): * ext/dv/demo-play.c: (main): * ext/faad/gstfaad.c: (gst_faad_change_state): * ext/mad/gstmad.c: (gst_mad_chain): * ext/smoothwave/demo-osssrc.c: (main): * gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string), (gst_gconf_render_bin_from_description), (gst_gconf_get_default_audio_sink), (gst_gconf_get_default_video_sink), (gst_gconf_get_default_audio_src), (gst_gconf_get_default_video_src), (gst_gconf_get_default_visualization_element): * gst/level/demo.c: (main): * gst/level/plot.c: (main): * gst/playback/gstplaybin.c: (gen_video_element), (gen_audio_element): * gst/playback/test.c: (gen_video_element), (gen_audio_element): * gst/playondemand/demo-mp3.c: (setup_pipeline): * gst/sine/demo-dparams.c: (main): * gst/spectrum/demo-osssrc.c: (main): * gst/speed/demo-mp3.c: (main): * gst/volume/demo.c: (main): * testsuite/embed/embed.c: (main):
Diffstat (limited to 'examples/dynparams')
-rw-r--r--examples/dynparams/filter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/dynparams/filter.c b/examples/dynparams/filter.c
index 333820df..087a5b28 100644
--- a/examples/dynparams/filter.c
+++ b/examples/dynparams/filter.c
@@ -7,6 +7,9 @@
* you can also enter an input and output part of a pipeline
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <string.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
@@ -481,7 +484,7 @@ create_ui (_filter_ui_t * fui, _filter_data_t * fd)
widget = gtk_label_new ("Output Pipe");
gtk_container_add (GTK_CONTAINER (vbox), widget);
fui->output = gtk_entry_new ();
- gtk_entry_set_text (GTK_ENTRY (fui->output), "osssink fragment=1572872"); /* fixme: gconf default ? */
+ gtk_entry_set_text (GTK_ENTRY (fui->output), DEFAULT_AUDIOSINK);
gtk_container_add (GTK_CONTAINER (vbox), fui->output);
gtk_container_add (GTK_CONTAINER (fui->selection), vbox);
g_signal_connect (G_OBJECT (fui->output), "activate",