drain last partial frame in ffmpeg close encoder
[goodguy/history.git] / cinelerra-5.1 / cinelerra / ffmpeg.h
index e70bcbfb266f404beba4ab9491d03a243d5c34f6..cbd01c3c1e38c4d27707d938fa033750273f2268 100644 (file)
@@ -168,6 +168,7 @@ public:
        int load(int64_t pos, int len);
        int audio_seek(int64_t pos);
        int encode(double **samples, int len);
+       int drain();
 
        int idx;
        int channel0, channels;
@@ -217,6 +218,7 @@ public:
        int load(VFrame *vframe, int64_t pos);
        int video_seek(int64_t pos);
        int encode(VFrame *vframe);
+       int drain();
 
        int idx;
        double frame_rate;