Skip to content

Commit efe7677

Browse files
josuahdanieldegrasse
authored andcommitted
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 83589d5 commit efe7677

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
@@ -649,6 +649,11 @@ Video
649649
``video_stream_start``
650650
``video_stream_stop``
651651

652+
* ``video_format.pitch`` has been updated to be set explicitly by the driver, a task formerly
653+
required by the application. This update enables the application to correctly allocate a buffer
654+
size on a per driver basis. Existing applications will not be broken by this change but can be
655+
simplified as performed in the sample in the commit ``33dcbe37cfd3593e8c6e9cfd218dd31fdd533598``.
656+
652657
Audio
653658
=====
654659

0 commit comments

Comments
 (0)