Why would videoencoder handle_frame only ever be called once?

Graham Leggett minfrin at sharp.fm
Mon Sep 7 13:11:11 PDT 2015


On 07 Sep 2015, at 9:27 AM, Sebastian Dröge <sebastian at centricular.com> wrote:

> handle_frame() is called once per input buffer, unless your decoder is
> not packetized and implements the parse virtual method.
> 
> Check the debug logs if more buffers are arriving in your element (in
> the chain function), and why they don't get into handle_frame(). Maybe
> some kind of error happened somewhere?

What I discovered was that I needed to put a queue in my pipeline. The rest of the pipeline was running, but this part of the pipeline was stuck for some reason. Adding a queue got the data flowing.

Regards,
Graham
—



More information about the gstreamer-devel mailing list