mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
examples: use 'post-messages' property instead of deprecated 'message' property
https://bugzilla.gnome.org/show_bug.cgi?id=734979
This commit is contained in:
parent
419332e287
commit
67255c6b49
3 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue