Skip to content

Commit d0fc96b

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 <[email protected]>
1 parent b5934e8 commit d0fc96b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,12 @@ Video
541541
``video_stream_start``
542542
``video_stream_stop``
543543

544+
* video_format.pitch is no longer to be set by the application, but instead written back by
545+
the driver letting the application know how much padding this particular driver will use
546+
per line and in turn know the required buffer size. Existing applications will not be
547+
broken by this change but can be simplified as performed in the samplesp in the commit
548+
``33dcbe37cfd3593e8c6e9cfd218dd31fdd533598``.
549+
544550
Other subsystems
545551
****************
546552

0 commit comments

Comments
 (0)