Collects encoded data and pushes encoded data downstream.
Source pad caps must be set when this is called.
If samples < 0, then best estimate is all samples provided to encoder
(subclass) so far. buf may be NULL, in which case next number of samples
are considered discarded, e.g. as a result of discontinuous transmission,
and a discontinuity is marked.
Note that samples received in #GstAudioEncoderClass.handle_frame()
may be invalidated by a call to this function.
Collects encoded data and pushes encoded data downstream. Source pad caps must be set when this is called.
If samples < 0, then best estimate is all samples provided to encoder (subclass) so far. buf may be NULL, in which case next number of samples are considered discarded, e.g. as a result of discontinuous transmission, and a discontinuity is marked.
Note that samples received in #GstAudioEncoderClass.handle_frame() may be invalidated by a call to this function.