diff options
Diffstat (limited to 'binding')
-rw-r--r-- | binding/afm-mediaplayer-binding.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binding/afm-mediaplayer-binding.c b/binding/afm-mediaplayer-binding.c index 5eaa982..15e29a2 100644 --- a/binding/afm-mediaplayer-binding.c +++ b/binding/afm-mediaplayer-binding.c @@ -880,7 +880,8 @@ static void gstreamer_init(afb_api_t api) AFB_ERROR("GST Pipeline: Failed to create 'pwaudiosink' element!"); exit(1); } - gst_util_set_object_arg(data.audio_sink, "stream-properties", "p,media.role=Multimedia"); + gst_util_set_object_arg(G_OBJECT(data.audio_sink), + "stream-properties", "p,media.role=Multimedia"); g_object_set(data.playbin, "audio-sink", data.fake_sink, NULL); AFB_DEBUG("GSTREAMER playbin.audio-sink = fake-sink"); |