view edl.h @ 11352:d8b1f7509df2

Patch by Nico <nsabbi@libero.it> this patch fixes a recently discovered bug for which DVB-C users couldn't tune (wrong parsing of the config file and incorrect parameter passing to tune_it()) and includes the still unapplied patch posted in date 6/9/2003: - it works correctly with and without caches; in the former case it doesn't take anymore a lot of time to empty the cache before changing channel; the uninit_cache() function is called in mplayer.c just after the new tuning operation - initialized a variable identifying the tuner type, and exit if it isn't supported - doesn't crash anymore when 1) the channels file doesn't exists 2) the tuner is used by another application 3) in the menu, when trying to select a channel before the first 4) some mp_msg() called in case of error
author attila
date Sat, 01 Nov 2003 15:17:01 +0000
parents 41a21058e658
children ce046ef860da
line wrap: on
line source

// EDL version 0.5

#ifndef EDLH
#define EDLH

#define EDL_SKIP 0
#define EDL_MUTE 1

#define MAX_EDL_ENTRIES 1000

struct edl_record {
  float start_sec;
  long start_frame;
  float stop_sec;
  long stop_frame;
  float length_sec;
  long length_frame;
  short action;
  struct edl_record* next;
};

typedef struct edl_record* edl_record_ptr;

#endif