Skip to content

MMAL freezes on flushing (maybe) #457

@ghost

Description

I observe the following situation:

  • reset MMAL decoder
  • send a single flush packet (buffer with MMAL_BUFFER_HEADER_FLAG_EOS flag set, and size set to 0)
  • call mmal_port_disable() on the MMAL component ports
  • MMAL hangs in mmal_vc_port_disable(), waiting for a GPU reply that never comes

(Sorry, I don't remember which port hangs when being disabled; if it's important I can look again.)

Is this a MMAL bug, or does it just not allow flushing the decoder if no real input has been sent to it? It also could be a bug in my code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions