Commit d090e475 authored by zorglub's avatar zorglub
Browse files

compilation fix for xOSD

parent d8751888
...@@ -225,13 +225,13 @@ static void Run( intf_thread_t *p_intf ) ...@@ -225,13 +225,13 @@ static void Run( intf_thread_t *p_intf )
free( psz_display ); free( psz_display );
psz_display = NULL; psz_display = NULL;
} }
if( p_playlist->i_status == PLAYLIST_STOPPED ) if( p_playlist->status.i_status == PLAYLIST_STOPPED )
{ {
psz_display = (char *)malloc( sizeof(char )*strlen(_("Stop"))); psz_display = (char *)malloc( sizeof(char )*strlen(_("Stop")));
sprintf( psz_display,_("Stop") ); sprintf( psz_display,_("Stop") );
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
} }
else if( p_playlist->i_status == PLAYLIST_PAUSED ) else if( p_playlist->status.i_status == PLAYLIST_PAUSED )
{ {
psz_display = (char *)malloc( sizeof(char )*strlen(_("Pause"))); psz_display = (char *)malloc( sizeof(char )*strlen(_("Pause")));
sprintf( psz_display,_("Pause") ); sprintf( psz_display,_("Pause") );
......
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