Mercurial > mplayer.hg
annotate edl.h @ 30418:2ae554028291
cosmetics: Convert DOS linebreaks to Unix linebreaks.
author | diego |
---|---|
date | Sat, 30 Jan 2010 13:49:03 +0000 |
parents | 4129c8cfa742 |
children | c1a3f1bbba26 |
rev | line source |
---|---|
13168 | 1 // EDL version 0.6 |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
2 |
26029 | 3 #ifndef MPLAYER_EDL_H |
4 #define MPLAYER_EDL_H | |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
5 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
6 #define EDL_SKIP 0 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
7 #define EDL_MUTE 1 |
17109
327be31a101d
Fix EDL to be per file, allow -edlout and -edl together as there is really
ods15
parents:
14807
diff
changeset
|
8 |
13168 | 9 #define EDL_MUTE_START 1 |
10 #define EDL_MUTE_END 0 | |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
11 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
12 struct edl_record { |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
13 float start_sec; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
14 float stop_sec; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
15 float length_sec; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
16 short action; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
17 struct edl_record* next; |
14807
664b06b907cb
Some to-be-redundant EDL code moved to edl.c with mencoder's edl in mind. Stack handling improvements, Patch by Oded Shimon
reynaldo
parents:
14607
diff
changeset
|
18 struct edl_record* prev; |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
19 }; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
20 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
21 typedef struct edl_record* edl_record_ptr; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
22 |
14607
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
13358
diff
changeset
|
23 extern char *edl_filename; // file to extract EDL entries from (-edl) |
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
13358
diff
changeset
|
24 extern char *edl_output_filename; // file to put EDL entries in (-edlout) |
13168 | 25 |
14807
664b06b907cb
Some to-be-redundant EDL code moved to edl.c with mencoder's edl in mind. Stack handling improvements, Patch by Oded Shimon
reynaldo
parents:
14607
diff
changeset
|
26 void free_edl(edl_record_ptr next_edl_record); // free's entire EDL list. |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
17109
diff
changeset
|
27 edl_record_ptr edl_parse_file(void); // fills EDL stack |
13168 | 28 |
26029 | 29 #endif /* MPLAYER_EDL_H */ |