V4L2_BUF_FLAG_TIMECODE is not video capture specific, so drop that part. The 'Timecodes' section was a bit messy, so that's cleaned up.
Unified · Split
| @@ -230,8 +230,7 @@ struct v4l2_buffer · 229 unmodified lines | |||
| 230 | * - struct :c:type:`v4l2_timecode` | 230 | * - struct :c:type:`v4l2_timecode` |
| 231 | - ``timecode`` | 231 | - ``timecode`` |
| 232 | - | 232 | - |
| 233 | - When ``type`` is ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` and the | 233 | - When the ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this |
| 234 | ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this | ||
| 235 | structure contains a frame timecode. In | 234 | structure contains a frame timecode. In |
| 236 | :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and | 235 | :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and |
| 237 | bottom field contain the same timecode. Timecodes are intended to | 236 | bottom field contain the same timecode. Timecodes are intended to |
| @@ -714,10 +713,10 @@ enum v4l2_memory · 476 unmodified lines | |||
| 714 | Timecodes | 713 | Timecodes |
| 715 | ========= | 714 | ========= |
| 716 | 715 | ||
| 717 | The struct :c:type:`v4l2_timecode` structure is designed to hold a | 716 | The :c:type:`v4l2_buffer_timecode` structure is designed to hold a |
| 718 | :ref:`smpte12m` or similar timecode. (struct | 717 | :ref:`smpte12m` or similar timecode. |
| 719 | struct :c:type:`timeval` timestamps are stored in struct | 718 | (struct :c:type:`timeval` timestamps are stored in the struct |
| 720 | :c:type:`v4l2_buffer` field ``timestamp``.) | 719 | :c:type:`v4l2_buffer` ``timestamp`` field.) |
| 721 | 720 | ||
| 722 | 721 | ||
| 723 | .. c:type:: v4l2_timecode | 722 | .. c:type:: v4l2_timecode |