New upstream version 21.0.2+dfsg1
This commit is contained in:
parent
1f1bbb3518
commit
baafb6325b
706 changed files with 49633 additions and 5044 deletions
|
|
@ -21,14 +21,14 @@
|
|||
|
||||
#define MILLISECOND_DEN 1000
|
||||
|
||||
static uint32_t get_ms_time(struct encoder_packet *packet, int64_t val)
|
||||
static int32_t get_ms_time(struct encoder_packet *packet, int64_t val)
|
||||
{
|
||||
return (uint32_t)(val * MILLISECOND_DEN / packet->timebase_den);
|
||||
return (int32_t)(val * MILLISECOND_DEN / packet->timebase_den);
|
||||
}
|
||||
|
||||
extern void write_file_info(FILE *file, int64_t duration_ms, int64_t size);
|
||||
|
||||
extern bool flv_meta_data(obs_output_t *context, uint8_t **output, size_t *size,
|
||||
bool write_header, size_t audio_idx);
|
||||
extern void flv_packet_mux(struct encoder_packet *packet,
|
||||
extern void flv_packet_mux(struct encoder_packet *packet, int32_t dts_offset,
|
||||
uint8_t **output, size_t *size, bool is_header);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue