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
parent
9b37b9273a
commit
ca4b04754c
|
@ -931,11 +931,6 @@ void send_off_encoder_packet(obs_encoder_t *encoder, bool success,
|
||||||
encoder->first_received = true;
|
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,
|
/* we use system time here to ensure sync with other encoders,
|
||||||
* you do not want to use relative timestamps here */
|
* you do not want to use relative timestamps here */
|
||||||
pkt->dts_usec = encoder->start_ts / 1000 +
|
pkt->dts_usec = encoder->start_ts / 1000 +
|
||||||
|
|
Loading…
Reference in New Issue