/*
 * DV Player plugin for VDR
 *
 * Copyright (C) 2003, 2004 Erich Bachl <erich.bachl@vr-web.de>
 *
 * This code is distributed under the terms and conditions of the
 * GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
 *
 */

#ifndef ENCODER_H
#define ENCODER_H

#include <vdr/thread.h>

#define USLEEP        10000 // 0.04 sec (use 1 for a really fast CPU ...)
#define FIFO           "/video/FIFO"

extern int  outpipe[2], pipefl;
extern int  inpipe[2];
extern int  pid;

void dx(int level, const char *fmt, ...);

class cShellThread: public cThread {
private:
  virtual void Action(void);
public:
  int m_Loop;
  cShellThread(void);
  ~cShellThread(void);
};
#endif // ENCODER_H
