Skip to content

Commit

Permalink
Renamed spu_DisplaySubpicture into spu_PutSubpicture.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Aimar committed Jan 9, 2011
1 parent 8e47c59 commit 96b2317
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/vlc_spu.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ VLC_EXPORT( void, spu_Destroy, ( spu_t * ) );
* You cannot use the provided subpicture anymore. The spu_t core
* will destroy it at its convenience.
*/
VLC_EXPORT( void, spu_DisplaySubpicture, ( spu_t *, subpicture_t * ) );
VLC_EXPORT( void, spu_PutSubpicture, ( spu_t *, subpicture_t * ) );

/**
* This function will return an unique subpicture containing the OSD and
Expand Down
2 changes: 1 addition & 1 deletion modules/stream_out/transcode/spu.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int transcode_spu_process( sout_stream_t *p_stream,

if( p_sys->b_soverlay )
{
spu_DisplaySubpicture( p_sys->p_spu, p_subpic );
spu_PutSubpicture( p_sys->p_spu, p_subpic );
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/libvlccore.sym
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ sout_StreamChainNew
sout_UpdateStatistic
spu_Create
spu_Destroy
spu_DisplaySubpicture
spu_PutSubpicture
spu_ChangeFilters
spu_Render
spu_RegisterChannel
Expand Down
2 changes: 1 addition & 1 deletion src/misc/filter_chain.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ void filter_chain_SubFilter( filter_chain_t *p_chain,
subpicture_t *p_subpic = p_filter->pf_sub_filter( p_filter, display_date );
/* XXX I find that spu_t cast ugly */
if( p_subpic )
spu_DisplaySubpicture( (spu_t*)p_chain->p_this, p_subpic );
spu_PutSubpicture( (spu_t*)p_chain->p_this, p_subpic );
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/osd/osd_text.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ int osd_ShowTextAbsolute( spu_t *p_spu_channel, int i_channel,
p_spu->p_region->i_x = i_hmargin;
p_spu->p_region->i_y = i_vmargin;

spu_DisplaySubpicture( p_spu_channel, p_spu );
spu_PutSubpicture( p_spu_channel, p_spu );

return VLC_SUCCESS;
}
Expand Down
2 changes: 1 addition & 1 deletion src/video_output/video_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ static void ThreadManage(vout_thread_t *vout,
static void ThreadDisplaySubpicture(vout_thread_t *vout,
subpicture_t *subpicture)
{
spu_DisplaySubpicture(vout->p->spu, subpicture);
spu_PutSubpicture(vout->p->spu, subpicture);
}

static void ThreadFlushSubpicture(vout_thread_t *vout, int channel)
Expand Down
2 changes: 1 addition & 1 deletion src/video_output/vout_subpictures.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ int spu_ProcessMouse( spu_t *p_spu,
* \param p_spu the subpicture unit object
* \param p_subpic the subpicture to display
*/
void spu_DisplaySubpicture( spu_t *p_spu, subpicture_t *p_subpic )
void spu_PutSubpicture( spu_t *p_spu, subpicture_t *p_subpic )
{
spu_private_t *p_sys = p_spu->p;

Expand Down

0 comments on commit 96b2317

Please sign in to comment.