Skip to content

Commit 1491a9e

Browse files
committed
doc: migration-guide-4.2: video: add note on pitch
Document the change of semantics of video_format.pitch field, modified in commit 33dcbe3. Signed-off-by: Josuah Demangeon <me@josuah.net>
1 parent 6e7756a commit 1491a9e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,11 @@ Video
608608
``video_stream_start``
609609
``video_stream_stop``
610610

611+
* ``video_format.pitch`` has been updated to be set explicitly by the driver, a task formerly
612+
required by the application. This update enables the application to correctly allocate a buffer
613+
size on a per driver basis. Existing applications will not be broken by this change but can be
614+
simplified as performed in the sample in the commit ``33dcbe37cfd3593e8c6e9cfd218dd31fdd533598``.
615+
611616
Audio
612617
=====
613618

0 commit comments

Comments
 (0)