[vlc-devel] commit: video_output: Flag a number of parameter as unused. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Aug 20 12:05:27 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 11:57:15 2009 +0200| [6d0b5a172e1e2f1b0a64b05baa618149c1623107] | committer: Pierre d'Herbemont 

video_output: Flag a number of parameter as unused.

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

 src/video_output/event.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/video_output/event.h b/src/video_output/event.h
index 1e7c8b4..fff6f26 100644
--- a/src/video_output/event.h
+++ b/src/video_output/event.h
@@ -120,6 +120,9 @@ static inline void vout_SendEventDisplayFilled(vout_thread_t *vout, bool is_disp
 
 static inline void vout_SendEventZoom(vout_thread_t *vout, int num, int den)
 {
+    VLC_UNUSED(vout);
+    VLC_UNUSED(num);
+    VLC_UNUSED(den);
     /* FIXME deadlock problems with current vout */
 #if 0
     const float zoom = (float)num / (float)den;
@@ -132,6 +135,8 @@ static inline void vout_SendEventZoom(vout_thread_t *vout, int num, int den)
 
 static inline void vout_SendEventOnTop(vout_thread_t *vout, bool is_on_top)
 {
+    VLC_UNUSED(vout);
+    VLC_UNUSED(is_on_top);
     /* FIXME deadlock problems with current vout */
 #if 0
 
@@ -147,6 +152,9 @@ static inline void vout_SendEventOnTop(vout_thread_t *vout, bool is_on_top)
 static inline void vout_SendEventSourceAspect(vout_thread_t *vout,
                                               unsigned num, unsigned den)
 {
+    VLC_UNUSED(vout);
+    VLC_UNUSED(num);
+    VLC_UNUSED(den);
     /* FIXME the value stored in "aspect-ratio" are not reduced
      * creating a lot of problems here */
 #if 0
@@ -172,6 +180,9 @@ static inline void vout_SendEventSourceCrop(vout_thread_t *vout,
                                             unsigned left, unsigned top,
                                             unsigned right, unsigned bottom)
 {
+    VLC_UNUSED(num);
+    VLC_UNUSED(den);
+
     vlc_value_t val;
 
     /* I cannot use var_Set here, infinite loop otherwise */




More information about the vlc-devel mailing list