diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-25 16:22:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-25 16:22:01 -0800 |
| commit | d7812a5441c699d2c1bbfb2e43746875e6e1ba57 (patch) | |
| tree | fb6f25c48fe36475815671656aa74afb48be1e47 /include/linux/dvb | |
| parent | 81260e6da98cb75bfe92e50f3b6937534b38592b (diff) | |
[PATCH] dvb: core update
From: Michael Hunold <hunold@linuxtv.org>
- dvb-core: replace usage of sleep_on_...() with
wait_event_interruptible_timeout()
- dvb-core: fix dvb_ringbuffer_read/write() buffer pointer bug
- video: added VIDEO_EVENT_FRAME_RATE_CHANGED and VIDEO_GET_FRAME_RATE
ioctl
Diffstat (limited to 'include/linux/dvb')
| -rw-r--r-- | include/linux/dvb/video.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dvb/video.h b/include/linux/dvb/video.h index 6727f422da61..09a4286fb02b 100644 --- a/include/linux/dvb/video.h +++ b/include/linux/dvb/video.h @@ -81,9 +81,11 @@ typedef enum { struct video_event { int32_t type; #define VIDEO_EVENT_SIZE_CHANGED 1 +#define VIDEO_EVENT_FRAME_RATE_CHANGED 2 time_t timestamp; union { video_size_t size; + unsigned int frame_rate; /* in frames per 1000sec */ } u; }; @@ -194,6 +196,7 @@ typedef uint16_t video_attributes_t; #define VIDEO_GET_NAVI _IOR('o', 52, video_navi_pack_t) #define VIDEO_SET_ATTRIBUTES _IO('o', 53) #define VIDEO_GET_SIZE _IOR('o', 55, video_size_t) +#define VIDEO_GET_FRAME_RATE _IOR('o', 56, unsigned int) #endif /*_DVBVIDEO_H_*/ |
