summaryrefslogtreecommitdiffstats
path: root/edl.h
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-25 04:30:53 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-25 04:30:53 +0000
commitc49c161ace7cc5a6bbd754ddd16002668ccc36f7 (patch)
tree2792af77619911d12f4e818760c70285e862e141 /edl.h
parent21c0a01f3aefd4785a9d43ed87e850e08897812c (diff)
downloadmpv-c49c161ace7cc5a6bbd754ddd16002668ccc36f7.tar.bz2
mpv-c49c161ace7cc5a6bbd754ddd16002668ccc36f7.tar.xz
Some to-be-redundant EDL code moved to edl.c with mencoder's edl in mind. Stack handling improvements, Patch by Oded Shimon
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14808 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'edl.h')
-rw-r--r--edl.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/edl.h b/edl.h
index 508c8b18be..3593227e94 100644
--- a/edl.h
+++ b/edl.h
@@ -11,14 +11,11 @@
struct edl_record {
float start_sec;
- long start_frame;
float stop_sec;
- long stop_frame;
float length_sec;
- long length_frame;
short action;
- short mute_state;
struct edl_record* next;
+ struct edl_record* prev;
};
typedef struct edl_record* edl_record_ptr;
@@ -27,7 +24,7 @@ extern char *edl_filename; // file to extract EDL entries from (-edl)
extern char *edl_output_filename; // file to put EDL entries in (-edlout)
int edl_check_mode(void); // we cannot do -edl and -edlout at the same time
-int edl_count_entries(void); // returns total number of entries needed
-int edl_parse_file(edl_record_ptr edl_records); // fills EDL stack
+void free_edl(edl_record_ptr next_edl_record); // free's entire EDL list.
+edl_record_ptr edl_parse_file(); // fills EDL stack
#endif