Commit b993600a authored by Jean-Paul Saman's avatar Jean-Paul Saman

Use the filename passed and not the configuration file.

parent 4527fa30
......@@ -216,7 +216,7 @@ osd_state_t *osd_StateNew( osd_menu_t *p_menu, const char *psz_file,
fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
if( p_menu->p_image )
{
p_state->p_pic = image_ReadUrl( p_menu->p_image, p_menu->psz_file,
p_state->p_pic = image_ReadUrl( p_menu->p_image, psz_file,
&fmt_in, &fmt_out );
}
......
......@@ -36,4 +36,3 @@ void osd_ButtonFree( osd_menu_t *, osd_button_t * );
void osd_StatesFree( osd_menu_t *, osd_state_t * );
#endif
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