dvdnav.c File Reference

Include dependency graph for dvdnav.c:


Data Structures

struct  demux_sys_t

Defines

#define ANGLE_TEXT   N_("DVD angle")
#define ANGLE_LONGTEXT
#define CACHING_TEXT   N_("Caching value in ms")
#define CACHING_LONGTEXT
#define MENU_TEXT   N_("Start directly in menu")
#define MENU_LONGTEXT
#define LANGUAGE_DEFAULT   ("en")
#define DVD_READ_CACHE   1

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Control (demux_t *, int, va_list)
static int Demux (demux_t *)
static int DemuxBlock (demux_t *, const uint8_t *, int)
static void DemuxForceStill (demux_t *)
static void DemuxTitles (demux_t *)
static void ESSubtitleUpdate (demux_t *)
static void ButtonUpdate (demux_t *, bool)
static void ESNew (demux_t *, int)
static int ProbeDVD (demux_t *, char *)
static char * DemuxGetLanguageCode (demux_t *p_demux, const char *psz_var)
static int ControlInternal (demux_t *, int,...)
static void StillTimer (void *)
static int EventKey (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int EventMouse (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int EventIntf (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)

Define Documentation

#define ANGLE_LONGTEXT

Value:

N_( \
     "Default DVD angle." )

#define ANGLE_TEXT   N_("DVD angle")

#define CACHING_LONGTEXT

Value:

N_( \
    "Caching value for DVDs. This "\
    "value should be set in milliseconds." )

#define CACHING_TEXT   N_("Caching value in ms")

#define DVD_READ_CACHE   1

Referenced by Open().

#define LANGUAGE_DEFAULT   ("en")

Referenced by DemuxGetLanguageCode(), and Open().

#define MENU_LONGTEXT

Value:

N_( \
    "Start the DVD directly in the main menu. This "\
    "will try to skip all the useless warning introductions." )

#define MENU_TEXT   N_("Start directly in menu")


Function Documentation

static void ButtonUpdate ( demux_t p_demux,
bool  b_mode 
) [static]

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

References demux_sys_t::b_created, ps_track_t::b_seen, demux_sys_t::dvdnav, ps_track_t::es, es_format_Clean(), es_out_Del(), EventIntf(), EventKey(), EventMouse(), ps_track_t::fmt, i, demux_sys_t::lock, msg_Warn, demux_t::out, demux_sys_t::p_input, demux_t::p_libvlc, demux_t::p_sys, p_sys, demux_sys_t::p_vout, PS_TK_COUNT, demux_sys_t::still, demux_sys_t::timer, demux_sys_t::tk, tk, var_DelCallback, var_Destroy, vlc_mutex_destroy(), vlc_object_release, and vlc_timer_destroy().

static int Control ( demux_t p_demux,
int  i_query,
va_list  args 
) [static]

static int ControlInternal ( demux_t p_demux,
int  i_query,
  ... 
) [static]

References Control().

Referenced by Demux().

static int Demux ( demux_t p_demux  )  [static]

static int DemuxBlock ( demux_t p_demux,
const uint8_t *  pkt,
int  i_pkt 
) [static]

static void DemuxForceStill ( demux_t p_demux  )  [static]

static char * DemuxGetLanguageCode ( demux_t p_demux,
const char *  psz_var 
) [static]

static void DemuxTitles ( demux_t p_demux  )  [static]

static void ESNew ( demux_t p_demux,
int  i_id 
) [static]

static void ESSubtitleUpdate ( demux_t p_demux  )  [static]

static int EventIntf ( vlc_object_t p_input,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  val,
void *  p_data 
) [static]

static int EventKey ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int EventMouse ( vlc_object_t p_vout,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  val,
void *  p_data 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

References _, demux_sys_t::b_created, demux_sys_t::b_enabled, demux_sys_t::b_reset_pcr, demux_sys_t::b_spu_change, decode_URI(), demux_GetParentInput(), DEMUX_INIT_COMMON, DemuxGetLanguageCode(), DemuxTitles(), dialog_Fatal, DVD_READ_CACHE, demux_sys_t::dvdnav, EventIntf(), EventKey(), demux_sys_t::i_den, demux_sys_t::i_mux_rate, demux_sys_t::i_num, demux_sys_t::i_pgc_length, demux_sys_t::i_vobu_flush, demux_sys_t::i_vobu_index, LANGUAGE_DEFAULT, demux_sys_t::lock, msg_Dbg, msg_Err, msg_Warn, demux_sys_t::p_input, demux_t::p_libvlc, demux_t::p_sys, p_sys, ProbeDVD(), ps_track_init(), demux_t::psz_access, psz_name, demux_t::psz_path, demux_sys_t::sar, demux_sys_t::still, StillTimer(), strdup(), demux_sys_t::timer, demux_sys_t::tk, ToLocaleDup(), var_AddCallback, var_Create, var_CreateGetBool, var_CreateGetInteger, var_CreateGetString, VLC_EGENERIC, vlc_mutex_init(), VLC_SUCCESS, vlc_timer_create(), VLC_VAR_ADDRESS, VLC_VAR_BOOL, VLC_VAR_DOINHERIT, VLC_VAR_INTEGER, and VLC_VAR_MUTEX.

static int ProbeDVD ( demux_t p_demux,
char *  psz_name 
) [static]

References GetWLE(), VLC_EGENERIC, vlc_open(), and VLC_SUCCESS.

Referenced by Open().

static void StillTimer ( void *  p_data  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Tue May 25 08:05:07 2010 for VLC by  doxygen 1.5.6