diff options
author | Mike Isely <isely@pobox.com> | 2006-12-30 16:27:32 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:34 -0500 |
commit | 16eb40d37d5dd4dba85245899388d2d44eb0bc2a (patch) | |
tree | e67ea490324f38eb83d6b16c53049239887c7f20 /drivers/media/video/pvrusb2/pvrusb2-hdw.h | |
parent | f13ed249ed8b880fe5497aaa05999bff8328a973 (diff) |
V4L/DVB (5057): Pvrusb2: Stream configuration cleanups
Clean up and tighten logic involving stream configuration. This
mainly involves changes to pvrusb2-v4l2.c, where we better clarify how
we use the stream configuration enum and implement a cleaner means to
control streaming for a given device node.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/drivers/media/video/pvrusb2/pvrusb2-hdw.h index 19af4d636c3f..d803f24cc9e0 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.h | |||
@@ -72,10 +72,11 @@ | |||
72 | PVR2_SUBSYS_RUN_ALL ) | 72 | PVR2_SUBSYS_RUN_ALL ) |
73 | 73 | ||
74 | enum pvr2_config { | 74 | enum pvr2_config { |
75 | pvr2_config_empty, | 75 | pvr2_config_empty, /* No configuration */ |
76 | pvr2_config_mpeg, | 76 | pvr2_config_mpeg, /* Encoded / compressed video */ |
77 | pvr2_config_vbi, | 77 | pvr2_config_vbi, /* Standard vbi info */ |
78 | pvr2_config_radio, | 78 | pvr2_config_pcm, /* Audio raw pcm stream */ |
79 | pvr2_config_rawvideo, /* Video raw frames */ | ||
79 | }; | 80 | }; |
80 | 81 | ||
81 | enum pvr2_v4l_type { | 82 | enum pvr2_v4l_type { |