summaryrefslogtreecommitdiffstats
path: root/presets.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2018-06-19 17:01:04 +0200
committerPaul Kocialkowski <paul.kocialkowski@bootlin.com>2018-06-19 18:14:25 +0200
commit07827f8f6268bad3108cc2821562ea0d83eac4b4 (patch)
tree2a54a70239b4833d99586569af9a547b55d04025 /presets.c
parente68b1c70daa149e5c4aef7ff0ec37bffc4b545fa (diff)
downloadv4l2-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/presets.c b/presets.c
index fc9615f..ec928c3 100644
--- a/presets.c
+++ b/presets.c
@@ -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]),
},