[PATCH v4 4/5] winegstreamer: Append audioconvert and audioresample elements.

Rémi Bernon rbernon at codeweavers.com
Tue Feb 22 12:17:34 CST 2022


On 2/22/22 19:15, Zebediah Figura (she/her) wrote:
> On 2/22/22 12:07, Rémi Bernon wrote:
>> I'm not sure which one is right, but starting the bin before appending
>> the elements, and in a later patch getting the elements pads, linking
>> them with ours and activating them, causes the pipeline to fail to run.
>>
>> Starting the bin only after everything is setup, like it was done in the
>> previous version worked.
> 
> Hmm, I was under the impression it's legal to add an element to an
> already running bin; GStreamer certainly has code to handle that case.
> What does "fail to run" mean in this case?
> 

The initial gst_pad_push_event events and later gst_push_buffer fail, 
and the pads are in a flushing state.

-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list