annotate edl.h @ 15161:eb7823afb1f6

Fix OSD when switching subtitles - set the osd buffer to Subtitle: off first, and then eventually set it to other values if some kind of subtitles is on. Otherwise 1) spudec stuff stomps on the buffer after vobsub, 2) Subtitle: off isn't displayed when cycling text subtitles.
author henry
date Fri, 15 Apr 2005 12:14:24 +0000
parents 664b06b907cb
children 327be31a101d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13168
ce046ef860da EDL enhancement/fixes:
rtognimp
parents: 9248
diff changeset
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
1aa2c9b460af Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff changeset
3 #ifndef EDLH
1aa2c9b460af Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff changeset
4 #define EDLH
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
13168
ce046ef860da EDL enhancement/fixes:
rtognimp
parents: 9248
diff changeset
8 #define EDL_ERROR -1
ce046ef860da EDL enhancement/fixes:
rtognimp
parents: 9248
diff changeset
9 #define EDL_MUTE_START 1
ce046ef860da EDL enhancement/fixes:
rtognimp
parents: 9248
diff changeset
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
ce046ef860da EDL enhancement/fixes:
rtognimp
parents: 9248
diff changeset
25
ce046ef860da EDL enhancement/fixes:
rtognimp
parents: 9248
diff changeset
26 int edl_check_mode(void); // we cannot do -edl and -edlout at the same time
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
27 void free_edl(edl_record_ptr next_edl_record); // free's entire EDL list.
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
28 edl_record_ptr edl_parse_file(); // fills EDL stack
13168
ce046ef860da EDL enhancement/fixes:
rtognimp
parents: 9248
diff changeset
29
8531
1aa2c9b460af Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff changeset
30 #endif