Media info interfaces
void |
|
void |
void flu_media_info_clear (FluMediaInfo *sinfo);
Clear (initialize to default values) a FluMediaInfo structure and frees associated memory.
Since: 1.0
The information to clear
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
Since: 1.0
The FluMediaInfo to write the information to
The FluMediaInfo to copy the information from
Enum values used to describe the different known formats available
FLU_MEDIA_INFO_FORMAT_UNKNOWN |
Unknown format |
FLU_MEDIA_INFO_FORMAT_AUDIO_ONLY |
Audio only format |
FLU_MEDIA_INFO_FORMAT_ASF |
ASF Format |
FLU_MEDIA_INFO_FORMAT_MP4 |
MPEG4 Format |
FLU_MEDIA_INFO_FORMAT_WEBM |
WEBM Format |
FLU_MEDIA_INFO_FORMAT_MPEGTS |
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.