On Thu, 22 Oct 2015, Christophe Fergeau wrote:
[...]
> > @@ -1136,6 +1157,13 @@ static int gst_encoder_encode_frame(VideoEncoder
> > *video_encoder,
> > if (rc == VIDEO_ENCODER_FRAME_ENCODE_DONE) {
> > rc = pull_compressed_buffer(encoder, video_buffer);
> > #ifdef DO_ZERO_COPY
> >
On Wed, Oct 14, 2015 at 05:33:07PM +0200, Francois Gouget wrote:
> This typically happens when sending very small frames (less than
> 16 pixels in one dimension) to the x264enc encoder.
> This avoids repeatedly wasting time rebuilding the pipeline.
>
> Signed-off-by: Francois Gouget
This typically happens when sending very small frames (less than
16 pixels in one dimension) to the x264enc encoder.
This avoids repeatedly wasting time rebuilding the pipeline.
Signed-off-by: Francois Gouget
---
server/gstreamer_encoder.c | 48