X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fvideo_stream.h;h=a6215e963e384829c5ca8c2c8753dffb6d28fa57;hb=f9024d141398e69e7b4011becd3ebbe37eaa1776;hp=f156be9af662578ee96cabec201f3337a08b09bc;hpb=adf28dcc8d96304785b05034c323e4c854c76896;p=nageru diff --git a/futatabi/video_stream.h b/futatabi/video_stream.h index f156be9..a6215e9 100644 --- a/futatabi/video_stream.h +++ b/futatabi/video_stream.h @@ -12,6 +12,7 @@ extern "C" { #include "frame_on_disk.h" #include "jpeg_frame_view.h" #include "queue_spot_holder.h" +#include "shared/mux.h" #include "shared/ref_counted_gl_sync.h" #include @@ -29,7 +30,6 @@ extern "C" { class ChromaSubsampler; class DISComputeFlow; class Interpolate; -class Mux; class QSurface; class QSurfaceFormat; class YCbCrConverter; @@ -142,6 +142,7 @@ private: std::function)> display_decoded_func; // Same, except for INTERPOLATED and FADED_INTERPOLATED. std::string subtitle; // Blank for none. + std::string exif_data; // Blank for none. // Audio, in stereo interleaved 32-bit PCM. If empty and not of type SILENCE, one frame's worth of silence samples // is synthesized. @@ -174,6 +175,7 @@ private: FrameOnDisk last_frame1, last_frame2; std::string last_frame; + Mux::WithSubtitles with_subtitles; // true for streaming, false for export to file. }; #endif // !defined(_VIDEO_STREAM_H)