Skip to content

Commit 11716f1

Browse files
committed
Update MP4Recording.cpp
- set 0 as default value for mp4_user_callback and use_self_file_name in mp4Params
1 parent e14edd5 commit 11716f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Arduino_package/hardware/libraries/Multimedia/src/MP4Recording.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ MP4Recording::MP4Recording(void)
2424
memset(mp4Params.record_file_name, 0, sizeof(mp4Params.record_file_name));
2525
strncpy(mp4Params.record_file_name, "AmebaPro_recording", sizeof(mp4Params.record_file_name));
2626
mp4Params.fatfs_buf_size = 256 * 1024; // 32kb multiple
27+
mp4Params.mp4_user_callback = 0;
28+
mp4Params.use_self_file_name = 0; // corresponds to remove_append_name in mp4_context [0: default, 1: without adding.mp4]
2729
}
2830

2931
MP4Recording::~MP4Recording(void)

0 commit comments

Comments
 (0)