<div dir="ltr"><div>Hi experts,<br></div><div>my pipeline contains video-appsrc, audio-appsrces and their streams eventually are connected to mp4mux. I have sparse stream(For some time-points there are audio-gaps) </div><div>and i tried to send  gst_event_new_gap to audio-appsrc for do not waiting to audio-buffers but in any case the video-appsrc doesn't send need_data until i send audio-buffers. </div><div>Here is the schematic view of the pipeline(Fig. 1):</div><div><br></div><img src="cid:ii_krylj8hs0" alt="pipeline_schematic_view.png" width="562" height="191"><br><div>                                                 <b>Fig. 1</b></div><div>When i ask this question in gstreame-devel forum, one of the experts replied and ask me to do a test: add leaky-queues before audio and video encoders to check if there is a deadlock.<br>I did the experiment and put leaky-queues before audio and video encoders(Fig. 2)</div><div><br><img src="cid:ii_kryln96f1" alt="pipeline_schematic_view__queues.png" width="562" height="176"><br></div><div>                                                 <b>Fig. 2</b><br></div><div>The pipeline started to work but there were buffer-drops i.e. i couldn't get the desired video-file.</div><div><br></div><div>Please help to solve this problem </div><div><br></div><div>Thank you very much in advance for your response and help<br>Hayk<br></div></div>