int empty; // Buffer completely empty?
};
-#define LLONG long long
-
struct eia608
{
struct eia608_screen buffer1;
int visible_buffer;
int srt_counter; // Number of subs currently written
int screenfuls_counter; // Number of meaningful screenfuls written
- LLONG current_visible_start_ms; // At what time did the current visible buffer became so?
+ int64_t current_visible_start_ms; // At what time did the current visible buffer became so?
// unsigned current_visible_start_cc; // At what time did the current visible buffer became so?
enum cc_modes mode;
unsigned char last_c1, last_c2;
int new_sentence;
int new_channel;
int in_xds_mode;
- hb_subtitle_t * subtitle;
+ hb_buffer_t *hb_buffer;
+ hb_buffer_t *hb_last_buffer;
uint64_t last_pts;
+ unsigned char *enc_buffer; // Generic general purpose buffer
+ unsigned enc_buffer_used;
+ unsigned enc_buffer_capacity;
};
enum command_code