mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-21 12:35:09 -04:00
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.
This commit is contained in:
1 parent
9b37b9273a
commit
ca4b04754c
1 file changed
-5
@@ -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 +
|
||||
|
||||
Reference in new issue
Block a user