libextractor  1.11
About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.
  Fossies Dox: libextractor-1.11.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

PrivStruct Struct Reference
Collaboration diagram for PrivStruct:
[legend]

Data Fields

guint64 offset
 
uint64_t length
 
GstElement * source
 
struct EXTRACTOR_ExtractContextec
 
GMainLoop * loop
 
GstDiscoverer * dc
 
gchar * toc
 
size_t toc_length
 
size_t toc_pos
 
guint timeout_id
 
int toc_depth
 
enum CurrentStreamType st
 
int time_to_leave
 
gboolean toc_print_phase
 

Detailed Description

Closure we pass when processing a request.

Definition at line 799 of file gstreamer_extractor.c.

Field Documentation

◆ dc

GstDiscoverer* PrivStruct::dc

Discoverer object we are using.

Definition at line 829 of file gstreamer_extractor.c.

Referenced by _run_async(), and EXTRACTOR_gstreamer_extract_method().

◆ ec

◆ length

uint64_t PrivStruct::length

Overall size of the file we're processing, UINT64_MAX if unknown.

Definition at line 809 of file gstreamer_extractor.c.

Referenced by _source_setup(), EXTRACTOR_gstreamer_extract_method(), and feed_data().

◆ loop

GMainLoop* PrivStruct::loop

Glib main loop.

Definition at line 824 of file gstreamer_extractor.c.

Referenced by _data_timeout(), _discoverer_finished(), and EXTRACTOR_gstreamer_extract_method().

◆ offset

guint64 PrivStruct::offset

Current read-offset in the 'ec' context (based on our read/seek calls).

Definition at line 804 of file gstreamer_extractor.c.

Referenced by feed_data(), and seek_data().

◆ source

GstElement* PrivStruct::source

Definition at line 814 of file gstreamer_extractor.c.

Referenced by _source_setup(), and feed_data().

◆ st

enum CurrentStreamType PrivStruct::st

◆ time_to_leave

int PrivStruct::time_to_leave

Last return value from the meta data processor. Set to 1 to abort, 0 to continue extracting.

Definition at line 866 of file gstreamer_extractor.c.

Referenced by send_audio_info(), send_info(), send_stream_info(), send_streams(), send_structure_foreach(), send_subtitle_info(), send_tag_foreach(), and send_video_info().

◆ timeout_id

guint PrivStruct::timeout_id

◆ toc

gchar* PrivStruct::toc

Location for building the XML 'table of contents' (EXTRACTOR_METATYPE_TOC) for the input. Used only during 'send_info'.

Definition at line 835 of file gstreamer_extractor.c.

Referenced by send_info(), send_toc_foreach(), and send_toc_tags_foreach().

◆ toc_depth

int PrivStruct::toc_depth

Counter used to determine our current depth in the TOC hierarchy.

Definition at line 855 of file gstreamer_extractor.c.

Referenced by send_toc_foreach(), and send_toc_tags_foreach().

◆ toc_length

size_t PrivStruct::toc_length

Length of the 'toc' string.

Definition at line 840 of file gstreamer_extractor.c.

Referenced by send_info(), send_toc_foreach(), and send_toc_tags_foreach().

◆ toc_pos

size_t PrivStruct::toc_pos

Current position (used when creating the 'toc' string).

Definition at line 845 of file gstreamer_extractor.c.

Referenced by send_info(), send_toc_foreach(), and send_toc_tags_foreach().

◆ toc_print_phase

gboolean PrivStruct::toc_print_phase

TOC generation is executed in two phases. First phase determines the size of the string and the second phase actually does the 'printing' (string construction). This bit is TRUE if we are in the 'printing' phase.

Definition at line 874 of file gstreamer_extractor.c.

Referenced by send_info(), send_toc_foreach(), and send_toc_tags_foreach().


The documentation for this struct was generated from the following file: