subreader.c: place conditionally declaration under #ifdef
[mplayer/glamo.git] / edl.h
blob8160acb95229d698d018a8e2681891b5fcd02720
1 /*
2 * EDL version 0.6
4 * This file is part of MPlayer.
6 * MPlayer is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * MPlayer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef MPLAYER_EDL_H
22 #define MPLAYER_EDL_H
24 #define EDL_SKIP 0
25 #define EDL_MUTE 1
27 #define EDL_MUTE_START 1
28 #define EDL_MUTE_END 0
30 struct edl_record {
31 float start_sec;
32 float stop_sec;
33 float length_sec;
34 short action;
35 struct edl_record* next;
36 struct edl_record* prev;
39 typedef struct edl_record* edl_record_ptr;
41 extern char *edl_filename; // file to extract EDL entries from (-edl)
42 extern char *edl_output_filename; // file to put EDL entries in (-edlout)
44 void free_edl(edl_record_ptr next_edl_record); // free's entire EDL list.
45 edl_record_ptr edl_parse_file(void); // fills EDL stack
47 #endif /* MPLAYER_EDL_H */