view edl.h @ 13758:25e3c54b8bcb

1.134: New translatable messages for vo_pnm 1.135: printf --> mp_msg transition in vo_yuv4mpeg 1.136: printf --> mp_msg conversion in ao_plugin 1.137: Removal of vo_pgm and vo_md5 1.138 and 1.139 were previously done by Diego (removal of unused messages) 1.140 Remove preceding newline in two lines 1.141 Added missing EOL
author kraymer
date Mon, 25 Oct 2004 17:42:13 +0000
parents 567875b88aab
children 7a80c6ac5058
line wrap: on
line source

// EDL version 0.6

#ifndef EDLH
#define EDLH

#define EDL_SKIP 0
#define EDL_MUTE 1
#define EDL_ERROR -1
#define EDL_MUTE_START 1
#define EDL_MUTE_END 0

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;
};

typedef struct edl_record* edl_record_ptr;

char *edl_filename; // file to extract EDL entries from (-edl)
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

#endif