Commit 42b8c573 authored by Clément Stenac's avatar Clément Stenac

Pwet pwet

parent 1afa1009
......@@ -1210,7 +1210,7 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
/* Source */
mvnprintw( y++, 0, COLS, " Source : %s",
p_input->input.p_item->psz_uri );
input_GetItem(p_input)->psz_uri );
/* State */
var_Get( p_input, "state", &val );
......@@ -1379,10 +1379,10 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
if( p_input )
{
int i,j;
vlc_mutex_lock( &p_input->input.p_item->lock );
for( i = 0; i < p_input->input.p_item->i_categories; i++ )
vlc_mutex_lock( &input_GetItem(p_input)->lock );
for( i = 0; i < input_GetItem(p_input)->i_categories; i++ )
{
info_category_t *p_category = p_input->input.p_item->pp_categories[i];
info_category_t *p_category = input_GetItem(p_input)->pp_categories[i];
if( y >= y_end ) break;
MainBoxWrite( p_intf, l++, 1, " [%s]", p_category->psz_name );
for( j = 0; j < p_category->i_infos; j++ )
......@@ -1392,7 +1392,7 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
MainBoxWrite( p_intf, l++, 1, " %s: %s", p_info->psz_name, p_info->psz_value );
}
}
vlc_mutex_unlock( &p_input->input.p_item->lock );
vlc_mutex_unlock( &input_GetItem(p_input)->lock );
}
else
{
......
......@@ -56,6 +56,7 @@
#include <vlc/vlc.h>
#include <vlc_vout.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_keys.h>
/*****************************************************************************
......
......@@ -40,6 +40,7 @@
#include <vlc/vlc.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_vout.h>
#include <windows.h>
......
......@@ -40,6 +40,7 @@
#include <vlc/vlc.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_vout.h>
#include <windows.h>
......
......@@ -30,6 +30,7 @@
#include <vlc/vlc.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_vout.h>
#include <commctrl.h>
......
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