https://bugs.kde.org/show_bug.cgi?id=518009

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kpipewire/-/commit/88ad0 |ma/kpipewire/-/commit/8bee3
                   |5778ee97b6584f4bc7d98468007 |cafd1765dbe0dfe4a860e40a868
                   |823b94ba                    |347bc50d

--- Comment #5 from [email protected] ---
Git commit 8bee3cafd1765dbe0dfe4a860e40a868347bc50d by Marsh Land.
Committed on 26/03/2026 at 10:27.
Pushed by ngraham into branch 'master'.

recording: Disable frame repeat timer for recording to file

The m_frameRepeatTimer was added to flush the encoder queue when
streaming stops providing updates (e.g. when KWin sends no damage).

However, for recording to file (PipeWireRecordProduce), this timer
is unnecessary because the stream is cleanly finalized and flushed
via m_encoder->finish() when recording stops.

When the timer fires during recording, it re-submits the last frame
with the exact same presentation timestamp, which causes non-monotonic
PTS/DTS errors in muxers (especially MP4/H.264).

Disable the timer entirely for file recording sessions.

M  +3    -1    src/pipewireproduce.cpp
M  +1    -0    src/pipewireproduce_p.h
M  +1    -0    src/pipewirerecord.cpp

https://invent.kde.org/plasma/kpipewire/-/commit/8bee3cafd1765dbe0dfe4a860e40a868347bc50d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to