Commit cc4fd87a authored by Felix Paul Kühne's avatar Felix Paul Kühne

* use intf_IntfProgress instead of intf_UserProgress to test the...

* use intf_IntfProgress instead of intf_UserProgress to test the interaction-implementations. Additionally, it's nicer here IMO, so we might keep it this way.
parent f3c6bbcc
...@@ -2274,9 +2274,8 @@ static void AVI_IndexCreate( demux_t *p_demux ) ...@@ -2274,9 +2274,8 @@ static void AVI_IndexCreate( demux_t *p_demux )
p_demux->p_sys->i_dialog_id = -1; p_demux->p_sys->i_dialog_id = -1;
if( stream_Size( p_demux->s ) > 10000000 ) if( stream_Size( p_demux->s ) > 10000000 )
{ {
p_demux->p_sys->i_dialog_id = intf_UserProgress( p_demux, p_demux->p_sys->i_dialog_id = intf_IntfProgress( p_demux,
_( "Fixing AVI Index" ), _( "Fixing AVI Index" ),
_( "Creating AVI Index ..." ),
0.0 ); 0.0 );
p_demux->p_sys->last_update = mdate(); p_demux->p_sys->last_update = mdate();
} }
...@@ -2298,8 +2297,8 @@ static void AVI_IndexCreate( demux_t *p_demux ) ...@@ -2298,8 +2297,8 @@ static void AVI_IndexCreate( demux_t *p_demux )
stream_Size( p_demux->s ); stream_Size( p_demux->s );
float f_pos = (float)i_pos; float f_pos = (float)i_pos;
p_demux->p_sys->last_update = mdate(); p_demux->p_sys->last_update = mdate();
intf_UserProgressUpdate( p_demux, p_demux->p_sys->i_dialog_id, intf_IntfProgressUpdate( p_demux, p_demux->p_sys->i_dialog_id,
_( "Creating AVI Index ..." ), f_pos ); _( "Fixing AVI Index ..." ), f_pos );
} }
if( AVI_PacketGetHeader( p_demux, &pk ) ) if( AVI_PacketGetHeader( p_demux, &pk ) )
......
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