summaryrefslogtreecommitdiff
path: root/src/multiplexer.h
diff options
context:
space:
mode:
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();