Skip to content

playbin: do not drain always on first EOS

playbin: do not drain on first EOS

In a case of audio/video media, the decodebin should wait for each branch to be on EOS before draining everything. A new signal "wait-on-eos" has been implemented for (uri)decodebin to tell that an EOS has been received on a branch. In the case of playbin2, it will compare the nb of active pads with the nb of EOS received and deodebin will start to drain all the active pads when the nb of EOS is equal to active pads (active combiner).

Needs !1250 (closed)

Edited by Stéphane Cerveau

Merge request reports

Loading