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

Zebediah Figura (she/her) zfigura at codeweavers.com
Tue Feb 22 12:19:19 CST 2022


On 2/22/22 12:17, Rémi Bernon wrote:
> 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.
> 

Eh, never mind, I forgot you had to manually call
gst_element_sync_state_with_parent()...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220222/3e6ec2a7/attachment.sig>


More information about the wine-devel mailing list