From 49265541974282f3346c9dc7de2365858f9fcb4d Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 12 Aug 2006 15:00:40 +0000 Subject: Added timecode and fixed the sending and receiving of frames through the network. --- lib/package.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'lib/package.h') diff --git a/lib/package.h b/lib/package.h index a16557a..c9d18b2 100644 --- a/lib/package.h +++ b/lib/package.h @@ -3,7 +3,7 @@ * package.h * * Tue Nov 9 10:57:20 CET 2004 - * Copyright 2004 Bent Bisballe + * Copyright 2004 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ @@ -24,10 +24,12 @@ * along with MIaV; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "config.h" #ifndef __MIAVLIB_PACKAGE_H__ #define __MIAVLIB_PACKAGE_H__ +#include "format.h" +#include "timecode.h" + typedef enum { NO_CHANGE = 0, SAVE, @@ -58,6 +60,16 @@ typedef struct { } n_header; +typedef struct { + video_format_t vformat; + audio_format_t aformat; + int vframesize; + int aframesize; + TimeCode timecode; + bool snapshot; + bool freeze; +} frameheader_t; + #endif/*__PACKAGE_H__*/ -- cgit v1.2.3