diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2018-06-19 17:01:04 +0200 |
---|---|---|
committer | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2018-06-19 18:14:25 +0200 |
commit | 07827f8f6268bad3108cc2821562ea0d83eac4b4 (patch) | |
tree | 2a54a70239b4833d99586569af9a547b55d04025 /presets.c | |
parent | e68b1c70daa149e5c4aef7ff0ec37bffc4b545fa (diff) | |
download | v4l2-request-test-07827f8f6268bad3108cc2821562ea0d83eac4b4.tar.gz v4l2-request-test-07827f8f6268bad3108cc2821562ea0d83eac4b4.tar.bz2 v4l2-request-test-07827f8f6268bad3108cc2821562ea0d83eac4b4.zip |
Move frame type to preset
Since the frame type should not change for the same preset, have it in
the preset structure directly instead of duplicating it in each frame.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Diffstat (limited to 'presets.c')
-rw-r--r-- | presets.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ static struct preset presets[] = { .attribution = "Blender Foundation | www.blender.org", .width = 854, .height = 480, + .type = DUMP_FRAME_MPEG2, .frames = bbb_mpeg2_frames, .frames_count = sizeof(bbb_mpeg2_frames) / sizeof(bbb_mpeg2_frames[0]), }, |