turns out extra sync packet at the end of video was a terrible idea

This commit is contained in:
minjaesong
2025-09-22 22:38:32 +09:00
parent e001445095
commit 05101ecd08
4 changed files with 123 additions and 15 deletions

View File

@@ -2994,11 +2994,6 @@ int main(int argc, char *argv[]) {
// Update actual frame count in encoder struct
enc->total_frames = frame_count;
// Write final sync packet
uint8_t sync_packet = TEV_PACKET_SYNC;
fwrite(&sync_packet, 1, 1, output);
sync_packet_count++;
// Update header with actual frame count (seek back to header position)
if (!enc->output_to_stdout) {