diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-13 09:27:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-13 09:27:11 +0300 |
commit | 1f0b21e713b00ed56e5a7606b9fd8c719ff3b3bb (patch) | |
tree | 889e4c1ca0ae57c9857ba368d8f34ba73a61e2c2 /source/blender/blenkernel/BKE_writeavi.h | |
parent | fa823f0af8675be076c1a43c09b56dfa0f27010d (diff) |
Cleanup: pass const args (mostly Scene & RenderData)
Diffstat (limited to 'source/blender/blenkernel/BKE_writeavi.h')
-rw-r--r-- | source/blender/blenkernel/BKE_writeavi.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_writeavi.h b/source/blender/blenkernel/BKE_writeavi.h index 7fc740a4a9b..79605e99306 100644 --- a/source/blender/blenkernel/BKE_writeavi.h +++ b/source/blender/blenkernel/BKE_writeavi.h @@ -36,7 +36,7 @@ struct Scene; typedef struct bMovieHandle { int (*start_movie)(void *context_v, - struct Scene *scene, + const struct Scene *scene, struct RenderData *rd, int rectx, int recty, @@ -55,14 +55,20 @@ typedef struct bMovieHandle { void (*end_movie)(void *context_v); /* Optional function. */ - void (*get_movie_path)(char *string, struct RenderData *rd, bool preview, const char *suffix); + void (*get_movie_path)(char *string, + const struct RenderData *rd, + bool preview, + const char *suffix); void *(*context_create)(void); void (*context_free)(void *context_v); } bMovieHandle; bMovieHandle *BKE_movie_handle_get(const char imtype); -void BKE_movie_filepath_get(char *string, struct RenderData *rd, bool preview, const char *suffix); +void BKE_movie_filepath_get(char *string, + const struct RenderData *rd, + bool preview, + const char *suffix); #ifdef __cplusplus } |