<div>Scene-prefix says in the wiki documentation that it will replace time and other format variables, but it doesn't.  This simple change should allow that.</div><div>---</div><div> modules/video_filter/scene.c |   11 +++++++++--</div>

<div> 1 files changed, 9 insertions(+), 2 deletions(-)</div><div><br></div><div>diff --git a/modules/video_filter/scene.c b/modules/video_filter/scene.c</div><div>index 8674993..e84d4d1 100644</div><div>--- a/modules/video_filter/scene.c</div>

<div>+++ b/modules/video_filter/scene.c</div><div>@@ -267,6 +267,7 @@ static void SavePicture( filter_t *p_filter, picture_t *p_pic )</div><div> {</div><div>     filter_sys_t *p_sys = (filter_sys_t *)p_filter->p_sys;</div>

<div>     video_format_t fmt_in, fmt_out;</div><div>+    char *psz_prefix = NULL;</div><div>     char *psz_filename = NULL;</div><div>     char *psz_temp = NULL;</div><div>     int i_ret;</div><div>@@ -282,16 +283,21 @@ static void SavePicture( filter_t *p_filter, picture_t *p_pic )</div>

<div>     fmt_out.i_chroma = p_sys->i_format;</div><div> </div><div>     /*</div><div>+     * Replace prefix with str_format variables</div><div>+     */</div><div>+    psz_prefix = str_format( p_filter, p_sys->psz_prefix );</div>

<div>+</div><div>+    /*</div><div>      * Save the snapshot to a temporary file and</div><div>      * switch it to the real name afterwards.</div><div>      */</div><div>     if( p_sys->b_replace )</div><div>         i_ret = asprintf( &psz_filename, "%s" DIR_SEP "%s.%s",</div>

<div>-                          p_sys->psz_path, p_sys->psz_prefix,</div><div>+                          p_sys->psz_path, psz_prefix,</div><div>                           p_sys->psz_format );</div><div>     else</div>

<div>         i_ret = asprintf( &psz_filename, "%s" DIR_SEP "%s%05d.%s",</div><div>-                          p_sys->psz_path, p_sys->psz_prefix,</div><div>+                          p_sys->psz_path, psz_prefix,</div>

<div>                           p_sys->i_frames, p_sys->psz_format );</div><div> </div><div>     if( i_ret == -1 )</div><div>@@ -333,4 +339,5 @@ static void SavePicture( filter_t *p_filter, picture_t *p_pic )</div>
<div>
 error:</div><div>     free( psz_temp );</div><div>     free( psz_filename );</div><div>+    free( psz_prefix );</div><div> }</div><div>-- </div><div>1.6.3.3</div><div><br></div>