view libmpdemux/mf.h @ 26269:65ad20416dd7

Support 'default' attribute for audio and subtitle tracks. The first default track is chosen for playback if language-based selection failes. Additionally, for audio tracks, the first one is chosen if there are no default tracks at all.
author eugeni
date Sun, 30 Mar 2008 16:55:46 +0000
parents 4129c8cfa742
children d643e4643313
line wrap: on
line source


#ifndef MPLAYER_MF_H
#define MPLAYER_MF_H

extern int    mf_w;
extern int    mf_h;
extern double mf_fps;
extern char * mf_type;

typedef struct
{
 int curr_frame;
 int nr_of_files;
 char ** names;
} mf_t;

mf_t* open_mf(char * filename);

#endif /* MPLAYER_MF_H */