[vlc-commits] vlc_es: rename DEFAULT_FIELD_OF_VIEW_DEGREES

Thomas Guillem git at videolan.org
Fri Nov 25 10:37:32 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov 25 10:18:44 2016 +0100| [122dab39ec8dc933a2ddac900d80f2a56df6e93b] | committer: Thomas Guillem

vlc_es: rename DEFAULT_FIELD_OF_VIEW_DEGREES

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

 include/vlc_es.h   | 4 ++--
 include/vlc_vout.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index fc81a9a..2641ddf 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -282,7 +282,7 @@ typedef enum video_chroma_location_t
     CHROMA_LOCATION_BOTTOM_CENTER,
 } video_chroma_location_t;
 
-#define DEFAULT_FIELD_OF_VIEW_DEGREES  80.f
+#define FIELD_OF_VIEW_DEGREES_DEFAULT  80.f
 
 /**
  * video format description
@@ -340,7 +340,7 @@ static inline void video_format_Init( video_format_t *p_src, vlc_fourcc_t i_chro
     memset( p_src, 0, sizeof( video_format_t ) );
     p_src->i_chroma = i_chroma;
     p_src->i_sar_num = p_src->i_sar_den = 1;
-    p_src->pose.f_fov_degrees = DEFAULT_FIELD_OF_VIEW_DEGREES;
+    p_src->pose.f_fov_degrees = FIELD_OF_VIEW_DEGREES_DEFAULT;
 }
 
 /**
diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index 7c17cc1..38b00b2 100644
--- a/include/vlc_vout.h
+++ b/include/vlc_vout.h
@@ -96,7 +96,7 @@ struct vlc_viewpoint_t {
 static inline void vlc_viewpoint_init( vlc_viewpoint_t *p_vp )
 {
     p_vp->yaw = p_vp->pitch = p_vp->roll = p_vp->zoom = 0.0f;
-    p_vp->fov = DEFAULT_FIELD_OF_VIEW_DEGREES;
+    p_vp->fov = FIELD_OF_VIEW_DEGREES_DEFAULT;
 }
 
 /*****************************************************************************



More information about the vlc-commits mailing list