Revert "libobs: Fix audio keyframe issue"

This reverts commit ff22c20019.

This caused a bug in FTL output, which started hitching after this
commit.  Presumably due to opus; it's likely you're not supposed to do
this with all audio encoders.
master
jp9000 2020-02-27 06:40:11 -08:00
parent 9b37b9273a
commit ca4b04754c
1 changed files with 0 additions and 5 deletions

View File

@ -931,11 +931,6 @@ void send_off_encoder_packet(obs_encoder_t *encoder, bool success,
encoder->first_received = true;
}
/* if packet is audio, mark as keyframe if it isn't already */
if (pkt->type == OBS_ENCODER_AUDIO) {
pkt->keyframe = true;
}
/* we use system time here to ensure sync with other encoders,
* you do not want to use relative timestamps here */
pkt->dts_usec = encoder->start_ts / 1000 +