Top |
void flu_media_info_clear (FluMediaInfo *sinfo
);
Clear (initialize to default values) a FluMediaInfo structure and frees associated memory.
void flu_media_info_copy (FluMediaInfo *target
,const FluMediaInfo *src
);
Copy general information of a media. This function will copy data from a source FluMediaInfo into a target structure. While doing so it will first free the members of target to avoid memory leaks. Target does not need to be of the same type as src.
WARNING: Use flu_media_info_clear()
to clear and free the information of
the target struct
target |
The FluMediaInfo to write the information to |
|
src |
The FluMediaInfo to copy the information from |
typedef struct { gchar *title; gchar *author; gchar *copyright; gchar *container; gint64 duration; gint64 start_date; FluMediaInfoFormat format; GList *covers; } FluMediaInfo;
General information about the media currently opened by a FluPlayer or generated by a FluRecorder.
Media title potentially provided by a container or the resource description from streams |
||
Author information |
||
Copyright information |
||
Container format name (for example Matroska, ASF, QuickTime, etc...) |
||
Duration of the media in nanoseconds |
||
Start date of content availability in nanoseconds |
||
FluMediaInfoFormat |
Container format |
|
information about any covers embedded
in the media (with ID3/APE/Vorbis tags for example). May be |
[element-type FluCoverInfo] |