X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=futatabi%2Fplayer.h;h=b912b8c2ef2ab9b7117ed152f5bd8589be9eefad;hb=adf28dcc8d96304785b05034c323e4c854c76896;hp=da5a4435da936778dbec3c606c39a312e45af953;hpb=3ffbf49e7053bc419f5440bbde139e282dd73a8b;p=nageru diff --git a/futatabi/player.h b/futatabi/player.h index da5a443..b912b8c 100644 --- a/futatabi/player.h +++ b/futatabi/player.h @@ -94,7 +94,7 @@ public: private: void thread_func(AVFormatContext *file_avctx); void play_playlist_once(); - void display_single_frame(int primary_stream_idx, const FrameOnDisk &primary_frame, int secondary_stream_idx, const FrameOnDisk &secondary_frame, double fade_alpha, std::chrono::steady_clock::time_point frame_start, bool snapped, const std::string &subtitle); + void display_single_frame(int primary_stream_idx, const FrameOnDisk &primary_frame, int secondary_stream_idx, const FrameOnDisk &secondary_frame, double fade_alpha, std::chrono::steady_clock::time_point frame_start, bool snapped, const std::string &subtitle, bool play_audio); void open_output_stream(); static int write_packet2_thunk(void *opaque, uint8_t *buf, int buf_size, AVIODataMarkerType type, int64_t time); int write_packet2(uint8_t *buf, int buf_size, AVIODataMarkerType type, int64_t time);