summaryrefslogtreecommitdiff
path: root/src/multiplexer.h
diff options
context:
space:
mode:
authordeva <deva>2005-09-15 19:31:16 +0000
committerdeva <deva>2005-09-15 19:31:16 +0000
commit0ef298aa78a315f64a6a686407f8f10694f0ea5d (patch)
treefc593bbee27eec1118d9d86131bea0757bf429ae /src/multiplexer.h
parent2a6d51ad49faa39af5e627df605d3365503b5cb4 (diff)
*** empty log message ***
Diffstat (limited to 'src/multiplexer.h')
-rw-r--r--src/multiplexer.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/multiplexer.h b/src/multiplexer.h
index 25c89e0..c0ac663 100644
--- a/src/multiplexer.h
+++ b/src/multiplexer.h
@@ -40,7 +40,7 @@
* Multiplexer configuration
*/
// How many packets should we put in one pack
-#define NUMBER_OF_PACKETS_IN_A_PACK 3
+#define PACKETS_PER_PACK 3
// How many packets bewteen audio packs
#define AUDIO_PACKET_FREQUENCY 10
@@ -49,7 +49,7 @@
#define SYSTEM_HEADER_FREQUENCY 5
// Size of video or audio data pr. packet
-#define PACKET_SIZE 2048
+#define PACKET_SIZE 2028
/**
* Other stuff
@@ -74,13 +74,15 @@ public:
void multiplex();
private:
+ unsigned long long int SCR;
+
double written[NUM_TYPES];
void iso11172_stream();
- void pack();
+ bool pack();
void system_header();
- void packet();
- void packet(StreamType type);
+ bool packet();
+ bool packet(StreamType type);
/*
void audio_packet();
void video_packet();