diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-02-14 19:08:18 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-02-21 10:33:20 +0100 |
commit | a3f69cdec73dfddb132a89a524e1977dddfe46d0 (patch) | |
tree | 930d4f1a1e82d72033fe3c8642cdf886fb7d573f /fftools/ffmpeg_mux.h | |
parent | 6b6815b1c875dfc5f81b44d9c240d6449bd61e5d (diff) | |
download | ffmpeg-a3f69cdec73dfddb132a89a524e1977dddfe46d0.tar.gz |
fftools/ffmpeg: cosmetics, vertically align structs
Diffstat (limited to 'fftools/ffmpeg_mux.h')
-rw-r--r-- | fftools/ffmpeg_mux.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/fftools/ffmpeg_mux.h b/fftools/ffmpeg_mux.h index e1b44142cf..16af6d38ba 100644 --- a/fftools/ffmpeg_mux.h +++ b/fftools/ffmpeg_mux.h @@ -34,73 +34,73 @@ #include "libavutil/fifo.h" typedef struct MuxStream { - OutputStream ost; + OutputStream ost; // name used for logging - char log_name[32]; + char log_name[32]; - AVBSFContext *bsf_ctx; - AVPacket *bsf_pkt; + AVBSFContext *bsf_ctx; + AVPacket *bsf_pkt; - AVPacket *pkt; + AVPacket *pkt; - EncStats stats; + EncStats stats; - int sch_idx; - int sch_idx_enc; - int sch_idx_src; + int sch_idx; + int sch_idx_enc; + int sch_idx_src; - int sq_idx_mux; + int sq_idx_mux; - int64_t max_frames; + int64_t max_frames; // timestamp from which the streamcopied streams should start, // in AV_TIME_BASE_Q; // everything before it should be discarded - int64_t ts_copy_start; + int64_t ts_copy_start; /* dts of the last packet sent to the muxer, in the stream timebase * used for making up missing dts values */ - int64_t last_mux_dts; + int64_t last_mux_dts; - int64_t stream_duration; - AVRational stream_duration_tb; + int64_t stream_duration; + AVRational stream_duration_tb; // state for av_rescale_delta() call for audio in write_packet() - int64_t ts_rescale_delta_last; + int64_t ts_rescale_delta_last; // combined size of all the packets sent to the muxer - uint64_t data_size_mux; + uint64_t data_size_mux; - int copy_initial_nonkeyframes; - int copy_prior_start; - int streamcopy_started; + int copy_initial_nonkeyframes; + int copy_prior_start; + int streamcopy_started; } MuxStream; typedef struct Muxer { - OutputFile of; + OutputFile of; // name used for logging - char log_name[32]; + char log_name[32]; - AVFormatContext *fc; + AVFormatContext *fc; - Scheduler *sch; - unsigned sch_idx; + Scheduler *sch; + unsigned sch_idx; // OutputStream indices indexed by scheduler stream indices - int *sch_stream_idx; - int nb_sch_stream_idx; + int *sch_stream_idx; + int nb_sch_stream_idx; - AVDictionary *opts; + AVDictionary *opts; /* filesize limit expressed in bytes */ - int64_t limit_filesize; - atomic_int_least64_t last_filesize; - int header_written; + int64_t limit_filesize; + atomic_int_least64_t last_filesize; + int header_written; - SyncQueue *sq_mux; - AVPacket *sq_pkt; + SyncQueue *sq_mux; + AVPacket *sq_pkt; } Muxer; int mux_check_init(void *arg); |