0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/plugins/obs-ffmpeg
jp9000 d7db0b8b01 (API Change) libobs: Fix output data cutoff on stop
(Note: This commit also modifies obs-ffmpeg and obs-outputs)

API Changed:
obs_output_info::void (*stop)(void *data);

To:
obs_output_info::void (*stop)(void *data, uint64_t ts);

This fixes the long-time design flaw where obs_output_stop and the
output 'stop' callback would just shut down the output without
considering the timing of when obs_output_stop was used, discarding any
possible buffering and causing the output to get cut off at an
unexpected timing.

The 'stop' callback of obs_output_info now takes a timestamp with the
expectation that the output will use that timestamp to stop output data
in accordance to that timing.  obs_output_stop now records the timestamp
at the time that the function is called and calls the 'stop' callback
with that timestamp.  If needed, obs_output_force_stop will still stop
the output immediately without buffering.
2016-06-22 14:10:39 -07:00
..
data/locale Update translations from Crowdin 2016-05-14 00:27:59 +02:00
ffmpeg-mux obs-ffmpeg: Fix type size mismatch warning 2016-05-12 23:01:45 -07:00
closest-pixel-format.h obs-ffmpeg: Add support for YUV 4:4:4 2015-04-18 00:03:14 -07:00
CMakeLists.txt obs-ffmpeg: Add FFmpeg NVENC encoder 2016-04-19 09:20:26 -07:00
obs-ffmpeg-aac.c obs-ffmpeg: Fix 'possible loss of data' warnings 2015-09-21 18:35:27 -07:00
obs-ffmpeg-compat.h obs-ffmpeg: Fix warnings with FFmpeg 3.0.0+ 2016-04-09 18:10:48 -07:00
obs-ffmpeg-formats.h libobs: Add Y800 color format support 2016-03-24 03:33:35 -07:00
obs-ffmpeg-mux.c (API Change) libobs: Fix output data cutoff on stop 2016-06-22 14:10:39 -07:00
obs-ffmpeg-nvenc.c obs-ffmpeg: Fix NVENC lossless mode 2016-05-16 04:18:29 -07:00
obs-ffmpeg-output.c (API Change) libobs: Fix output data cutoff on stop 2016-06-22 14:10:39 -07:00
obs-ffmpeg-source.c libff: Improved handling of EOF in the decoder threads 2016-04-28 23:58:28 +02:00
obs-ffmpeg.c obs-ffmpeg: Add FFmpeg NVENC encoder 2016-04-19 09:20:26 -07:00