mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
add _remove/_intersect tip
Original commit message from CVS: add _remove/_intersect tip
This commit is contained in:
parent
e10cd625ca
commit
dc31c88b68
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,9 @@ Notes for converters:
|
|||
the caps that should be returned. (This is how to do it
|
||||
_theoretically_, but an optimal implementation will probably be
|
||||
quite different.)
|
||||
For example, a simple way to do this for an element that can convert
|
||||
a given field of the caps is to remove the field(s) from the structure,
|
||||
then intersect with the pad template.
|
||||
|
||||
- As an example, videoscale can convert any sized video to any other
|
||||
sized video. Its getcaps function iterates over each structure in
|
||||
|
|
Loading…
Reference in a new issue