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 | 230 | * - struct :c:type:`v4l2_timecode` |
| 231 | 231 | - ``timecode`` |
| 232 | 232 | - |
| 233 | − - When ``type`` is ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` and the | |
| 234 | − ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this | |
| 233 | + - When the ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this | |
| 235 | 234 | structure contains a frame timecode. In |
| 236 | 235 | :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and |
| 237 | 236 | bottom field contain the same timecode. Timecodes are intended to |
| @@ -714,10 +713,10 @@ enum v4l2_memory · 476 unmodified lines | ||
| 714 | 713 | Timecodes |
| 715 | 714 | ========= |
| 716 | 715 | |
| 717 | −The struct :c:type:`v4l2_timecode` structure is designed to hold a | |
| 718 | −:ref:`smpte12m` or similar timecode. (struct | |
| 719 | −struct :c:type:`timeval` timestamps are stored in struct | |
| 720 | −:c:type:`v4l2_buffer` field ``timestamp``.) | |
| 716 | +The :c:type:`v4l2_buffer_timecode` structure is designed to hold a | |
| 717 | +:ref:`smpte12m` or similar timecode. | |
| 718 | +(struct :c:type:`timeval` timestamps are stored in the struct | |
| 719 | +:c:type:`v4l2_buffer` ``timestamp`` field.) | |
| 721 | 720 | |
| 722 | 721 | |
| 723 | 722 | .. c:type:: v4l2_timecode |