<div dir="ltr"><div>Hi all,</div><div><br></div><div>I've a following pipeline:</div><div><br></div><div>openslessrc --> volume --> openslessink</div><div><br></div><div>The pipeline is running in push mode. But I'd like to drive the pipeline directly from the real-time audio thread. I am trying to launch the pipeline with</div><div><br></div><div>pipeline = gst_parse_launch(<br></div><div>"openslessrc ! audioconvert ! volume volume=1.50 ! audioconvert ! audio/x-raw,rate=44100 ! openslessink can-activate-pull=true", &error)</div><div>gst_element_set_state (pipeline, GST_STATE_PLAYING);<br></div><div><br></div><div>But gst_base_sink_negotiate_pull() failed and I got a log message of "Received event on flushing pad. Discarding".</div><div><br></div><div>I cannot find much information about using pull mode in application. How can I fix this problem?</div><div>By the way, gstvolume provides get_range function, so I think it can work in pull mode. But there is a comment in its parent gstbasetransform says:<br></div><div><br></div><div>* FIXME, getrange is broken, need to pull range from the other<br> * end based on the transform_size result.<br> */</div><div><br></div><div>Does that mean I can not use gstvolume directly in pull mode, but need to inherit it and fix get_range?</div><div><br></div><div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><span></span>Sirius Wu<br></div></div></div></div></div></div></div></div></div></div>