[vlc-commits] commit: Renamed spu_DisplaySubpicture into spu_PutSubpicture. ( Laurent Aimar )

git at videolan.org git at videolan.org
Sun Jan 9 22:44:19 CET 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 12 01:11:22 2010 +0100| [96b231723df1091eb29302c4b0a2b662d7549fa5] | committer: Laurent Aimar 

Renamed spu_DisplaySubpicture into spu_PutSubpicture.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96b231723df1091eb29302c4b0a2b662d7549fa5
---

 include/vlc_spu.h                   |    2 +-
 modules/stream_out/transcode/spu.c  |    2 +-
 src/libvlccore.sym                  |    2 +-
 src/misc/filter_chain.c             |    2 +-
 src/osd/osd_text.c                  |    2 +-
 src/video_output/video_output.c     |    2 +-
 src/video_output/vout_subpictures.c |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/vlc_spu.h b/include/vlc_spu.h
index c4ec95d..7640943 100644
--- a/include/vlc_spu.h
+++ b/include/vlc_spu.h
@@ -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
diff --git a/modules/stream_out/transcode/spu.c b/modules/stream_out/transcode/spu.c
index 3f1540b..778ee44 100644
--- a/modules/stream_out/transcode/spu.c
+++ b/modules/stream_out/transcode/spu.c
@@ -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
     {
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index d32684f..dc888ed 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -401,7 +401,7 @@ sout_StreamChainNew
 sout_UpdateStatistic
 spu_Create
 spu_Destroy
-spu_DisplaySubpicture
+spu_PutSubpicture
 spu_ChangeFilters
 spu_Render
 spu_RegisterChannel
diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index 998e318..cb9be4a 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -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 );
     }
 }
 
diff --git a/src/osd/osd_text.c b/src/osd/osd_text.c
index da24083..f5e47df 100644
--- a/src/osd/osd_text.c
+++ b/src/osd/osd_text.c
@@ -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;
 }
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index a67fb9e..de1915f 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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)
diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 71b33ce..28ccced 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -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;
 



More information about the vlc-commits mailing list