Skip to content

Commit f9a1ab4

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 b5934e8 commit f9a1ab4

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. Then the application can know how much padding this particular driver uses
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 sample in the commit
548+
``33dcbe37cfd3593e8c6e9cfd218dd31fdd533598``.
549+
544550
Other subsystems
545551
****************
546552

0 commit comments

Comments
 (0)