VLC 4.0.0-dev
Loading...
Searching...
No Matches
libvlc_event_t Struct Reference

A LibVLC event. More...

#include <libvlc_events.h>

Collaboration diagram for libvlc_event_t:
[legend]

Data Fields

int type
 Event type (see libvlc_event_e)
 
void * p_obj
 Object emitting the event.
 
union { 
 
   struct { 
 
      libvlc_meta_t   meta_type 
 Deprecated, any meta_type can change. More...
 
   }   media_meta_changed 
 
   struct { 
 
      libvlc_media_t *   new_child 
 
   }   media_subitem_added 
 
   struct { 
 
      int64_t   new_duration 
 
   }   media_duration_changed 
 
   struct { 
 
      int   new_status 
 see libvlc_media_parsed_status_t More...
 
   }   media_parsed_changed 
 
   struct { 
 
      int   new_state 
 see libvlc_state_t More...
 
   }   media_state_changed 
 
   struct { 
 
      libvlc_picture_t *   p_thumbnail 
 
   }   media_thumbnail_generated 
 
   struct { 
 
      libvlc_media_t *   item 
 
   }   media_subitemtree_added 
 
   struct { 
 
      libvlc_picture_list_t *   thumbnails 
 
   }   media_attached_thumbnails_found 
 
   struct { 
 
      float   new_cache 
 
   }   media_player_buffering 
 
   struct { 
 
      int   new_chapter 
 
   }   media_player_chapter_changed 
 
   struct { 
 
      double   new_position 
 
   }   media_player_position_changed 
 
   struct { 
 
      libvlc_time_t   new_time 
 
   }   media_player_time_changed 
 
   struct { 
 
      const libvlc_title_description_t *   title 
 
      int   index 
 
   }   media_player_title_selection_changed 
 
   struct { 
 
      int   new_seekable 
 
   }   media_player_seekable_changed 
 
   struct { 
 
      int   new_pausable 
 
   }   media_player_pausable_changed 
 
   struct { 
 
      int   new_scrambled 
 
   }   media_player_scrambled_changed 
 
   struct { 
 
      int   new_count 
 
   }   media_player_vout 
 
   struct { 
 
      libvlc_media_t *   item 
 
      int   index 
 
   }   media_list_item_added 
 
   struct { 
 
      libvlc_media_t *   item 
 
      int   index 
 
   }   media_list_will_add_item 
 
   struct { 
 
      libvlc_media_t *   item 
 
      int   index 
 
   }   media_list_item_deleted 
 
   struct { 
 
      libvlc_media_t *   item 
 
      int   index 
 
   }   media_list_will_delete_item 
 
   struct { 
 
      libvlc_media_t *   item 
 
   }   media_list_player_next_item_set 
 
   struct { 
 
      char *   psz_filename 
 
   }   media_player_snapshot_taken 
 
   struct { 
 
      libvlc_time_t   new_length 
 
   }   media_player_length_changed 
 
   struct { 
 
      libvlc_media_t *   new_media 
 
   }   media_player_media_changed 
 
   struct { 
 
      libvlc_media_t *   media 
 
   }   media_player_media_stopping 
 
   struct { 
 
      libvlc_track_type_t   i_type 
 
      int   i_id 
 Deprecated, use psz_id. More...
 
      const char *   psz_id 
 Call libvlc_media_player_get_track_from_id() to get the track description. More...
 
   }   media_player_es_changed 
 
   struct { 
 
      libvlc_track_type_t   i_type 
 
      const char *   psz_unselected_id 
 
      const char *   psz_selected_id 
 
   }   media_player_es_selection_changed 
 
   struct { 
 
      int   i_id 
 
   }   media_player_program_changed 
 
   struct { 
 
      int   i_unselected_id 
 
      int   i_selected_id 
 
   }   media_player_program_selection_changed 
 
   struct { 
 
      float   volume 
 
   }   media_player_audio_volume 
 
   struct { 
 
      const char *   device 
 
   }   media_player_audio_device 
 
   struct { 
 
      bool   recording 
 
      const char *   recorded_file_path 
 Only valid when recording ends (recording == false) More...
 
   }   media_player_record_changed 
 
   struct { 
 
      libvlc_renderer_item_t *   item 
 
   }   renderer_discoverer_item_added 
 
   struct { 
 
      libvlc_renderer_item_t *   item 
 
   }   renderer_discoverer_item_deleted 
 
u 
 Type-dependent event description.
 

Detailed Description

A LibVLC event.

Field Documentation

◆ device

const char* libvlc_event_t::device

◆ i_id

int libvlc_event_t::i_id

Deprecated, use psz_id.

◆ i_selected_id

int libvlc_event_t::i_selected_id

◆ i_type

libvlc_track_type_t libvlc_event_t::i_type

◆ i_unselected_id

int libvlc_event_t::i_unselected_id

◆ index

int libvlc_event_t::index

◆ item [1/2]

libvlc_media_t* libvlc_event_t::item

◆ item [2/2]

libvlc_renderer_item_t* libvlc_event_t::item

◆ media

libvlc_media_t* libvlc_event_t::media

◆ [struct]

struct { ... } libvlc_event_t::media_attached_thumbnails_found

◆ [struct]

struct { ... } libvlc_event_t::media_duration_changed

◆ [struct]

struct { ... } libvlc_event_t::media_list_item_added

◆ [struct]

struct { ... } libvlc_event_t::media_list_item_deleted

◆ [struct]

struct { ... } libvlc_event_t::media_list_player_next_item_set

◆ [struct]

struct { ... } libvlc_event_t::media_list_will_add_item

◆ [struct]

struct { ... } libvlc_event_t::media_list_will_delete_item

◆ [struct]

struct { ... } libvlc_event_t::media_meta_changed

◆ [struct]

struct { ... } libvlc_event_t::media_parsed_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_audio_device

◆ [struct]

struct { ... } libvlc_event_t::media_player_audio_volume

◆ [struct]

struct { ... } libvlc_event_t::media_player_buffering

◆ [struct]

struct { ... } libvlc_event_t::media_player_chapter_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_es_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_es_selection_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_length_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_media_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_media_stopping

◆ [struct]

struct { ... } libvlc_event_t::media_player_pausable_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_position_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_program_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_program_selection_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_record_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_scrambled_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_seekable_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_snapshot_taken

◆ [struct]

struct { ... } libvlc_event_t::media_player_time_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_title_selection_changed

◆ [struct]

struct { ... } libvlc_event_t::media_player_vout

◆ [struct]

struct { ... } libvlc_event_t::media_state_changed

◆ [struct]

struct { ... } libvlc_event_t::media_subitem_added

◆ [struct]

struct { ... } libvlc_event_t::media_subitemtree_added

◆ [struct]

struct { ... } libvlc_event_t::media_thumbnail_generated

◆ meta_type

libvlc_meta_t libvlc_event_t::meta_type

Deprecated, any meta_type can change.

◆ new_cache

float libvlc_event_t::new_cache

◆ new_chapter

int libvlc_event_t::new_chapter

◆ new_child

libvlc_media_t* libvlc_event_t::new_child

◆ new_count

int libvlc_event_t::new_count

◆ new_duration

int64_t libvlc_event_t::new_duration

◆ new_length

libvlc_time_t libvlc_event_t::new_length

◆ new_media

libvlc_media_t* libvlc_event_t::new_media

◆ new_pausable

int libvlc_event_t::new_pausable

◆ new_position

double libvlc_event_t::new_position

◆ new_scrambled

int libvlc_event_t::new_scrambled

◆ new_seekable

int libvlc_event_t::new_seekable

◆ new_state

int libvlc_event_t::new_state

◆ new_status

int libvlc_event_t::new_status

◆ new_time

libvlc_time_t libvlc_event_t::new_time

◆ p_obj

void* libvlc_event_t::p_obj

Object emitting the event.

◆ p_thumbnail

libvlc_picture_t* libvlc_event_t::p_thumbnail

◆ psz_filename

char* libvlc_event_t::psz_filename

◆ psz_id

const char* libvlc_event_t::psz_id

Call libvlc_media_player_get_track_from_id() to get the track description.

◆ psz_selected_id

const char* libvlc_event_t::psz_selected_id

◆ psz_unselected_id

const char* libvlc_event_t::psz_unselected_id

◆ recorded_file_path

const char* libvlc_event_t::recorded_file_path

Only valid when recording ends (recording == false)

◆ recording

bool libvlc_event_t::recording

◆ [struct]

struct { ... } libvlc_event_t::renderer_discoverer_item_added

◆ [struct]

struct { ... } libvlc_event_t::renderer_discoverer_item_deleted

◆ thumbnails

libvlc_picture_list_t* libvlc_event_t::thumbnails

◆ title

const libvlc_title_description_t* libvlc_event_t::title

◆ type

int libvlc_event_t::type

Event type (see libvlc_event_e)

◆ [union]

union { ... } libvlc_event_t::u

Type-dependent event description.

◆ volume

float libvlc_event_t::volume

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