summaryrefslogtreecommitdiff
path: root/lib/package.h
diff options
context:
space:
mode:
authordeva <deva>2006-08-12 15:00:40 +0000
committerdeva <deva>2006-08-12 15:00:40 +0000
commit49265541974282f3346c9dc7de2365858f9fcb4d (patch)
tree0861c3b9bdb9d64a7c68674c4f864171a26eed18 /lib/package.h
parenta145483e4f59ae76b28657cefd1b1e72fe5e4e2c (diff)
Added timecode and fixed the sending and receiving of frames through the network.
Diffstat (limited to 'lib/package.h')
-rw-r--r--lib/package.h16
1 files changed, 14 insertions, 2 deletions
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__*/