[media] media: Keep using the same graph walk object for a given pipeline
Initialise a given graph walk object once, and then keep using it whilst the same pipeline is running. Once the pipeline is stopped, release the graph walk object. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
29d8da02d1
commit
74a4133079
@@ -119,9 +119,11 @@ struct media_entity_graph {
|
||||
/*
|
||||
* struct media_pipeline - Media pipeline related information
|
||||
*
|
||||
* @graph: Media graph walk during pipeline start / stop
|
||||
* @streaming_count: Streaming start count - streaming stop count
|
||||
* @graph: Media graph walk during pipeline start / stop
|
||||
*/
|
||||
struct media_pipeline {
|
||||
int streaming_count;
|
||||
struct media_entity_graph graph;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user