]> git.sesse.net Git - nageru/blobdiff - h264encode.h
If we have waiting B-frames at the end of the encode, encode them as such.
[nageru] / h264encode.h
index 748fa5170812f387c819208b2059dee819db89c5..53c6c569feab9724f5fd8c0780a6ebbc54814946 100644 (file)
@@ -88,6 +88,7 @@ private:
        };
 
        void encode_thread_func();
+       void encode_remaining_frames_as_p(int encoding_frame_num, int gop_start_display_frame_num, int64_t last_dts);
        void encode_frame(PendingFrame frame, int encoding_frame_num, int display_frame_num, int gop_start_display_frame_num,
                          int frame_type, int64_t pts, int64_t dts);
        void storage_task_thread();