]> git.sesse.net Git - nageru/blobdiff - video_stream.h
Fix a race where refresh frames could be put into the muxer with out-of-order pts.
[nageru] / video_stream.h
index 2bac2ad425bacc196926aca41db998590e9884f1..2dae6e06f01c7a626556090fa9050daf7e982727 100644 (file)
@@ -68,7 +68,7 @@ private:
 
        struct QueuedFrame {
                int64_t output_pts;
-               enum Type { ORIGINAL, FADED, INTERPOLATED, FADED_INTERPOLATED } type;
+               enum Type { ORIGINAL, FADED, INTERPOLATED, FADED_INTERPOLATED, REFRESH } type;
                unsigned stream_idx;
                int64_t input_first_pts;  // The only pts for original frames.