fake.c File Reference

Include dependency graph for fake.c:


Data Structures

struct  demux_sys_t

Defines

#define CACHING_TEXT   N_("Caching value in ms")
#define CACHING_LONGTEXT
#define FPS_TEXT   N_("Framerate")
#define FPS_LONGTEXT
#define ID_TEXT   N_("ID")
#define ID_LONGTEXT
#define DURATION_TEXT   N_("Duration in ms")
#define DURATION_LONGTEXT

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 Demux (demux_t *)
static int Control (demux_t *, int, va_list)

Define Documentation

#define CACHING_LONGTEXT

Value:

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

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

#define DURATION_LONGTEXT

Value:

N_( \
    "Duration of the fake streaming before faking an " \
    "end-of-file (default is -1 meaning that the stream is unlimited when " \
    "fake is forced, or lasts for 10 seconds otherwise. 0, means that the " \
    "stream is unlimited).")

#define DURATION_TEXT   N_("Duration in ms")

#define FPS_LONGTEXT

Value:

N_( \
    "Number of frames per second (eg. 24, 25, 29.97, 30).")

#define FPS_TEXT   N_("Framerate")

#define ID_LONGTEXT

Value:

N_( \
    "Set the ID of the fake elementary stream for use in " \
    "#duplicate{} constructs (default 0).")

#define ID_TEXT   N_("ID")


Function Documentation

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_t::p_sys, and p_sys.

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

static int Demux ( demux_t p_demux  )  [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_INIT_COMMON, es_format_Init(), es_out_Add(), demux_sys_t::f_fps, i_codec, demux_sys_t::i_duration, es_format_t::i_id, demux_t::i_seekpoint, demux_t::i_title, demux_t::i_update, image_Ext2Fourcc(), demux_t::info, msg_Dbg, demux_t::out, demux_sys_t::p_es_video, demux_t::p_parent, demux_t::p_sys, p_sys, demux_t::psz_access, demux_t::psz_path, var_Create, var_CreateGetFloat, var_CreateGetInteger, var_SetString, VIDEO_ES, VLC_EGENERIC, VLC_FOURCC, VLC_SUCCESS, VLC_VAR_DOINHERIT, VLC_VAR_INTEGER, and VLC_VAR_STRING.

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