info.c File Reference

Include dependency graph for info.c:


Defines

#define addstr(t, v)   input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%s",v)
#define addnum(t, v)   input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%d",v)
#define addhex(t, v)   input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%x",v)
#define TEMP_STR_SIZE   256

Functions

static char * VCDFormatStr (vcdplayer_t *p_vcdplayer, const char *format_str, const char *mrl, const vcdinfo_itemid_t *itemid)
void VCDMetaInfo (access_t *p_access, char *psz_mrl)
void VCDUpdateTitle (access_t *p_access)

Define Documentation

#define addhex ( t,
 )     input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%x",v)

Referenced by VCDMetaInfo().

#define addnum ( t,
 )     input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%d",v)

Referenced by VCDMetaInfo().

#define addstr ( t,
 )     input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%s",v)

Referenced by VCDMetaInfo().

#define TEMP_STR_SIZE   256


Function Documentation

static char * VCDFormatStr ( vcdplayer_t p_vcdplayer,
const char *  format_str,
const char *  mrl,
const vcdinfo_itemid_t *  itemid 
) [static]

Take a format string and expand escape sequences, that is sequences that begin with %, with information from the current VCD. The expanded string is returned. Here is a list of escape sequences:

A : The album information C : The VCD volume count - the number of CD's in the collection. c : The VCD volume num - the number of the CD in the collection. F : The VCD Format, e.g. VCD 1.0, VCD 1.1, VCD 2.0, or SVCD I : The current entry/segment/playback type, e.g. ENTRY, TRACK, SEGMENT... L : The playlist ID prefixed with " LID" if it exists M : MRL N : The current number of the I - a decimal number P : The publisher ID p : The preparer ID S : If we are in a segment (menu), the kind of segment T : The track number V : The volume set ID v : The volume ID A number between 1 and the volume count. %% : a %

References _, vcdplayer_input_s::i_lid, vcdplayer_input_s::i_track, strdup(), TEMP_STR_SIZE, vcdplayer_input_s::vcd, and vcdplayer_pbc_is_on().

Referenced by VCDMetaInfo(), and VCDUpdateTitle().

void VCDMetaInfo ( access_t p_access,
char *  psz_mrl 
)

void VCDUpdateTitle ( access_t p_access  ) 


Generated on Wed Mar 31 08:05:32 2010 for VLC by  doxygen 1.5.6