Skip to content
Commit 04796f54 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

media: bcm2835-unicam: Start and stop media_pipeline with same node



media_pipeline_start and media_pipeline_stop now validate that
the pipeline is being started and stopped with the same pipe
and pad handles.
When running with embedded metadata (eg imx477 and imx708), the
start typically happens from the metadata pad, whilst stop is
always from the image pad.

Always pass the image pad to media_pipeline_start to ensure
that the calls are balanced.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 4108f2e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment