obs-studio/plugins/obs-outputs
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
librtmp obs-outputs: Add USE_SSL option (disabled by default) 2016-02-07 15:47:18 -08:00
CMakeLists.txt obs-outputs: Add USE_SSL option (disabled by default) 2016-02-07 15:47:18 -08:00
flv-mux.c obs-ffmpeg: Use actual audio encoder sample rate 2015-07-09 10:44:24 -07:00
flv-mux.h (API Change) Add support for multiple audio mixers 2015-02-04 16:51:29 -08:00
flv-output.c (API Change) libobs: Fix output data cutoff on stop 2016-06-22 14:10:39 -07:00
obs-output-ver.h Output version/commit to RTMP stream metadata 2014-07-01 13:41:32 -07:00
obs-outputs.c Remove macro to free locale 2014-07-27 17:29:10 -07:00
rtmp-helpers.h obs-outputs: Add #pragma once to rtmp-helpers.h 2015-01-16 00:19:17 -08:00
rtmp-stream.c (API Change) libobs: Fix output data cutoff on stop 2016-06-22 14:10:39 -07:00