Virtual Method
GrlSourcemay_resolve
since: 0.2.0
Declaration [src]
gboolean
may_resolve (
GrlSource* source,
GrlMedia* media,
GrlKeyID key_id,
GList** missing_keys
)
Description [src]
Checks whether key_id
may be resolved with source
for media
, so that the
caller can avoid calling grl_source_resolve()
if it can be known in
advance it will fail.
If the resolution is known to be impossible because more keys are needed in
media
, and missing_keys
is not NULL
, it is populated with the list of
GrlKeyID that would be needed.
This function is synchronous and should not block.
Available since: 0.2.0
Parameters
media
-
Type:
GrlMedia
A media on which we want more metadata.
The data is owned by the caller of the function. key_id
-
Type:
GrlKeyID
The key corresponding to a metadata we might want.
missing_keys
-
Type: A list of
None
An optional originally empty list.
The data is owned by the caller of the function.