[gst-devel] Can't manage volume with GstVolume
Sergio
g4ll0ws at gmail.com
Mon Nov 3 10:41:25 CET 2008
On Sun, Nov 2, 2008 at 10:00 PM, Stefan Kost <ensonic at hora-obscura.de> wrote:
> hi,
>
> Sergio schrieb:
>> I'm working on gstreamer (0.10.19), but I can't change the playback
>> volume. I tried with GstVolume element in this way:
>>
>> self->gst_volume = gst_element_factory_make("volume", "my-volume");
>> gst_bin_add_many(GST_BIN(self->gst_bin), source, parser,
>> decoder, conv, sink, self->gst_volume, NULL);
>>
>> gst_element_link(source, parser);
>> gst_element_link_many(decoder, conv, sink, self->gst_volume, NULL);
>
> What about putting volume before the sink? ALso check the return results from
> e.g. gst_element_link_many.
Great, now it works! volume has to be put before the sink in linking.
Thanks a lot.
>
> Stefan
>
s.
More information about the gstreamer-devel
mailing list