mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
value: add explanation for shortcut
This commit is contained in:
parent
3ce0c64b45
commit
f18bee2d8a
1 changed files with 2 additions and 0 deletions
|
@ -3080,6 +3080,8 @@ gst_value_can_intersect (const GValue * value1, const GValue * value2)
|
|||
type1 = G_VALUE_TYPE (value1);
|
||||
type2 = G_VALUE_TYPE (value2);
|
||||
|
||||
/* practically all GstValue types have a compare function (_can_compare=TRUE)
|
||||
* GstStructure and GstCaps have npot, but are intersectable */
|
||||
if (type1 == type2)
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue