From 8e02de43d0fa3490857b5a47788cb60ac22a6196 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 12 Mar 2021 18:16:58 +0200 Subject: mediaplayer: s/pwaudiosink/pipewiresink/ This is the one and only pipewire sink now Bug-AGL: SPEC-3844 Change-Id: I3618577bf96cac1ccee12b0b7434d79d4c65dd66 Signed-off-by: George Kiagiadakis --- binding/afm-mediaplayer-binding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/afm-mediaplayer-binding.c b/binding/afm-mediaplayer-binding.c index 5f66196..009149b 100644 --- a/binding/afm-mediaplayer-binding.c +++ b/binding/afm-mediaplayer-binding.c @@ -943,10 +943,10 @@ static void gstreamer_init(afb_api_t api) exit(1); } - data.audio_sink = gst_element_factory_make("pwaudiosink", NULL); + data.audio_sink = gst_element_factory_make("pipewiresink", NULL); if (!data.audio_sink) { - AFB_ERROR("GST Pipeline: Failed to create 'pwaudiosink' element!"); + AFB_ERROR("GST Pipeline: Failed to create 'pipewiresink' element!"); exit(1); } gst_util_set_object_arg(G_OBJECT(data.audio_sink), -- cgit 1.2.3-korg