Commit 07779d3e authored by Yann Diorcet's avatar Yann Diorcet
Browse files

Add getter for default_image

parent 55a86251
......@@ -223,6 +223,7 @@ MS2_PUBLIC const char *ms_web_cam_get_string_id(MSWebCam *obj);
/*specific methods for static image:*/
MS2_PUBLIC void ms_static_image_set_default_image(const char *path);
MS2_PUBLIC const char *ms_static_image_get_default_image();
/** method for the "nowebcam" filter */
#define MS_STATIC_IMAGE_SET_IMAGE \
......
......@@ -1977,3 +1977,7 @@ void ms_static_image_set_default_image(const char *path){
if (path)
def_image=ms_strdup(path);
}
const char *ms_static_image_get_default_image(){
return def_image;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment