mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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);
|
type1 = G_VALUE_TYPE (value1);
|
||||||
type2 = G_VALUE_TYPE (value2);
|
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)
|
if (type1 == type2)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue