media_graph_walk_next(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… media_graph_walk_next(9) β€” the manual page, bestie edition

okay so this is a page from the Kernel API Manual (yes, the kernel has lore too, we love that for it) and today we're talking about media_graph_walk_next ✨


🌸 NAME 🌸

media_graph_walk_next β€” get the next entity in the graph, fr fr


πŸŽ€ SYNOPSIS πŸŽ€

struct media_entity * media_graph_walk_next (struct media_graph *graph
);

like, that's the whole call. iconic. short. slay.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • graph β€” the media graph structure πŸ’« this is the graph you're walking through, bestie.

✨ DESCRIPTION ✨

🚨 important heads-up first: this function is deprecated. do not use it. use media_pipeline_for_each_pad instead, periodt. πŸ’€

okay so what does it do? It performs a depth-first traversal of the given media entities graph. like it goes deep first, then comes back around β€” very main character energy. 🌈

The graph structure must have been previously initialized with a call to media_graph_walk_start β€” no init, no walk, that's the vibe check. 🫢


πŸ’– RETURN πŸ’–

It returns the next entity in the graph, or NULL if the whole graph has been traversed. so when you get NULL, that's your cue that the walk is over β€” no cap. 🌸


πŸ‘‘ SEE ALSO πŸ‘‘

all of these live in the kernel file ./include/media/media-entity.h β€” go read them, iykwim 🧚

yeah that's a lot of them. read them all. i believe in you. πŸ’œ


πŸ“ sign-off πŸ“

this page comes from the source path ./include/media and it's dated October 2026 β€” go off, timestamp bestie. bye, ily, remember: deprecated means don't. πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from