examples: use 'post-messages' property instead of deprecated 'message' property

https://bugzilla.gnome.org/show_bug.cgi?id=734979
This commit is contained in:
Ravi Kiran K N 2014-08-18 10:33:48 +05:30 committed by Tim-Philipp Müller
parent 419332e287
commit 67255c6b49
3 changed files with 3 additions and 3 deletions

View file

@ -157,7 +157,7 @@ main (int argc, char *argv[])
spectrum = gst_element_factory_make ("spectrum", "spectrum");
g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80,
"message", TRUE, "interval", 500 * GST_MSECOND, NULL);
"post-messages", TRUE, "interval", 500 * GST_MSECOND, NULL);
audioconvert = gst_element_factory_make ("audioconvert", "audioconvert");

View file

@ -218,7 +218,7 @@ main (int argc, char *argv[])
spectrum = gst_element_factory_make ("spectrum", "spectrum");
g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80,
"message", TRUE, NULL);
"post-messages", TRUE, NULL);
audioconvert = gst_element_factory_make ("audioconvert", "audioconvert");

View file

@ -170,7 +170,7 @@ main (int argc, char *argv[])
spectrum = gst_element_factory_make ("spectrum", "spectrum");
g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80,
"message", TRUE, NULL);
"post-messages", TRUE, NULL);
sink = gst_element_factory_make ("fakesink", "sink");