view edl.h @ 11080:26f1b3ad4a77

skip null frames in mpeg files, patch by Zoltan Hidvegi <mplayer@hzoli.2y.net> I have an mpeg2 avi (created with mencoder -oac copy -ovc copy from a dvd) that has null frames, probably inserted by mencoder. I can play that with -vfm ffmpeg, but mplayer dump when played with the default libmpeg2, the trivial patch below fixes that.
author attila
date Sat, 11 Oct 2003 11:21:54 +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