[vlc-commits] [Git][videolan/vlc][master] 6 commits: include: include vlc_tick.h when using vlc_tick_t

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Apr 26 06:13:55 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
eb6fde31 by Steve Lhomme at 2023-04-25T09:29:52+02:00
include: include vlc_tick.h when using vlc_tick_t

- - - - -
09895b00 by Steve Lhomme at 2023-04-25T09:29:52+02:00
core: include vlc_tick.h when using vlc_tick_t

- - - - -
41bc8fb7 by Steve Lhomme at 2023-04-25T09:29:52+02:00
rand: include vlc_tick.h when using NTPtime64()

- - - - -
84c4012c by Steve Lhomme at 2023-04-25T09:29:52+02:00
modules: include vlc_tick.h when using vlc_tick_t

- - - - -
f0233fa0 by Steve Lhomme at 2023-04-25T09:29:52+02:00
modules: include vlc_tick.h when using NTPtime64()

- - - - -
2c926306 by Steve Lhomme at 2023-04-25T09:29:52+02:00
vlc_common: don't include vlc_tick.h anymore

We don't use a vlc_tick.h in this file.

- - - - -


24 changed files:

- include/vlc_atomic.h
- include/vlc_common.h
- include/vlc_es_out.h
- include/vlc_frame.h
- include/vlc_sout.h
- include/vlc_threads.h
- include/vlc_thumbnailer.h
- modules/access/dtv/en50221.c
- modules/audio_output/vlcpulse.h
- modules/codec/ttml/ttml.h
- modules/codec/webvtt/webvtt.h
- modules/demux/adaptive/Time.hpp
- modules/demux/adaptive/logic/BufferingLogic.hpp
- modules/demux/adaptive/logic/IDownloadRateObserver.h
- modules/demux/adaptive/plumbing/Demuxer.hpp
- modules/demux/adaptive/tools/Conversions.hpp
- modules/demux/mpeg/mpeg4_iod.h
- modules/demux/ogg.h
- modules/gui/macosx/playlist/VLCPlaylistItem.h
- modules/gui/qt/playlist/playlist_item.hpp
- modules/stream_out/sdp_helper.c
- src/clock/clock_internal.h
- src/misc/mtime.c
- src/posix/rand.c


Changes:

=====================================
include/vlc_atomic.h
=====================================
@@ -36,6 +36,7 @@ using std::memory_order_relaxed;
 using std::memory_order_acq_rel;
 #endif
 # include <vlc_common.h>
+# include <vlc_tick.h>
 
 #define VLC_STATIC_RC { \
     .refs = ATOMIC_VAR_INIT(0) \


=====================================
include/vlc_common.h
=====================================
@@ -557,7 +557,6 @@ typedef int ( * vlc_list_callback_t ) ( vlc_object_t *,      /* variable's objec
 #   include <os2.h>
 #endif
 
-#include "vlc_tick.h"
 #include "vlc_threads.h"
 
 /**


=====================================
include/vlc_es_out.h
=====================================
@@ -27,6 +27,8 @@
 
 #include <vlc_es.h>
 
+#include <vlc_tick.h>
+
 /**
  * \defgroup es_out ES output
  * \ingroup input
@@ -248,7 +250,7 @@ VLC_USED static inline int es_out_SetESCatPolicy( es_out_t *out, enum es_format_
 VLC_USED static inline bool es_out_GetESState( es_out_t *out, es_out_id_t *id)
 {
     bool state = false;
-    
+
     es_out_Control( out, ES_OUT_GET_ES_STATE, id, &state );
     return state;
 }


=====================================
include/vlc_frame.h
=====================================
@@ -23,6 +23,8 @@
 #ifndef VLC_FRAME_H
 #define VLC_FRAME_H 1
 
+#include <vlc_tick.h>
+
 struct vlc_ancillary;
 typedef uint32_t vlc_ancillary_id;
 


=====================================
include/vlc_sout.h
=====================================
@@ -30,6 +30,7 @@
 #include <sys/types.h>
 #include <vlc_es.h>
 #include <vlc_clock.h>
+#include <vlc_tick.h>
 
 #ifdef __cplusplus
 extern "C" {


=====================================
include/vlc_threads.h
=====================================
@@ -32,6 +32,8 @@
 #include <stdatomic.h>
 #endif
 
+#include <vlc_tick.h>
+
 /**
  * \ingroup os
  * \defgroup thread Threads and synchronization primitives


=====================================
include/vlc_thumbnailer.h
=====================================
@@ -24,6 +24,7 @@
 #define VLC_THUMBNAILER_H
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 
 typedef struct vlc_thumbnailer_t vlc_thumbnailer_t;
 typedef struct vlc_thumbnailer_request_t vlc_thumbnailer_request_t;


=====================================
modules/access/dtv/en50221.c
=====================================
@@ -27,6 +27,7 @@
 #endif
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 #include <vlc_charset.h>
 #include <vlc_fs.h>
 
@@ -1265,11 +1266,11 @@ static void CAPMTAdd( cam_t * p_cam, int i_session_id,
         CAPMTFirst( p_cam, i_session_id, p_info );
         return;
     }
- 
+
 #ifdef CAPMT_WAIT
     vlc_tick_sleep( VLC_TICK_FROM_MS(CAPMT_WAIT) );
 #endif
- 
+
     msg_Dbg( p_cam->obj, "adding CAPMT for SID %d on session %d",
              p_info->i_program_number, i_session_id );
 


=====================================
modules/audio_output/vlcpulse.h
=====================================
@@ -22,6 +22,9 @@
 
 #ifndef VLCPULSE_H
 # define VLCPULSE_H 1
+
+#include <vlc_tick.h>
+
 # ifdef __cplusplus
 extern "C" {
 # endif


=====================================
modules/codec/ttml/ttml.h
=====================================
@@ -18,6 +18,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#include <vlc_tick.h>
+
 int tt_OpenDemux( vlc_object_t* p_this );
 void tt_CloseDemux( vlc_object_t* p_demux );
 


=====================================
modules/codec/webvtt/webvtt.h
=====================================
@@ -20,6 +20,8 @@
 #ifndef WEBVTT_H
 #define WEBVTT_H
 
+#include <vlc_tick.h>
+
 int  webvtt_OpenDecoder   ( vlc_object_t * );
 void webvtt_CloseDecoder  ( vlc_object_t * );
 


=====================================
modules/demux/adaptive/Time.hpp
=====================================
@@ -21,6 +21,7 @@
 #define TIME_HPP
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 #include <list>
 
 namespace adaptive


=====================================
modules/demux/adaptive/logic/BufferingLogic.hpp
=====================================
@@ -21,6 +21,7 @@
 #define BUFFERINGLOGIC_HPP
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 
 #include "../tools/Properties.hpp"
 


=====================================
modules/demux/adaptive/logic/IDownloadRateObserver.h
=====================================
@@ -26,6 +26,7 @@
 #define IDOWNLOADRATEOBSERVER_H_
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 
 namespace adaptive
 {


=====================================
modules/demux/adaptive/plumbing/Demuxer.hpp
=====================================
@@ -21,6 +21,7 @@
 #define DEMUXER_HPP
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 #include <string>
 
 namespace adaptive


=====================================
modules/demux/adaptive/tools/Conversions.hpp
=====================================
@@ -21,6 +21,7 @@
 #define CONVERSIONS_HPP
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 #include <string>
 #include <sstream>
 


=====================================
modules/demux/mpeg/mpeg4_iod.h
=====================================
@@ -20,6 +20,8 @@
 #ifndef VLC_MPEG4_IOD_H
 #define VLC_MPEG4_IOD_H
 
+#include <vlc_tick.h>
+
 #define ES_DESCRIPTOR_COUNT 255
 typedef enum
 {


=====================================
modules/demux/ogg.h
=====================================
@@ -26,6 +26,8 @@
  * Definitions of structures and functions used by this plugin
  *****************************************************************************/
 
+#include <vlc_tick.h>
+
 //#define OGG_DEMUX_DEBUG 1
 #ifdef OGG_DEMUX_DEBUG
   #define DemuxDebug(code) code


=====================================
modules/gui/macosx/playlist/VLCPlaylistItem.h
=====================================
@@ -22,6 +22,7 @@
 
 #import <Foundation/Foundation.h>
 #import <vlc_playlist.h>
+#import <vlc_tick.h>
 
 NS_ASSUME_NONNULL_BEGIN
 


=====================================
modules/gui/qt/playlist/playlist_item.hpp
=====================================
@@ -23,6 +23,7 @@
 #endif
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 #include <vlc_cxx_helpers.hpp>
 #include <vlc_playlist.h>
 #include <QExplicitlySharedDataPointer>


=====================================
modules/stream_out/sdp_helper.c
=====================================
@@ -25,6 +25,7 @@
 #include <string.h>
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 #include <vlc_charset.h>
 #include <vlc_network.h>
 #include <vlc_memstream.h>


=====================================
src/clock/clock_internal.h
=====================================
@@ -25,6 +25,7 @@
 # define CLOCK_INTERNAL_H
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 
 /* Maximum gap allowed between two CRs. */
 #define CR_MAX_GAP VLC_TICK_FROM_SEC(60)


=====================================
src/misc/mtime.c
=====================================
@@ -33,6 +33,7 @@
 #endif
 
 #include <vlc_common.h>
+#include <vlc_tick.h>
 #include <assert.h>
 
 #include <time.h>


=====================================
src/posix/rand.c
=====================================
@@ -36,6 +36,7 @@
 #include <vlc_fs.h>
 
 #include <vlc_hash.h>
+#include <vlc_tick.h>
 
 /*
  * Pseudo-random number generator using a HMAC-MD5 in counter mode.



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/6554e5e610cd36f8f8811b8949c41e5c038cf324...2c9263067d721c6d1bef715b6dd65d5ab89e5de3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/6554e5e610cd36f8f8811b8949c41e5c038cf324...2c9263067d721c6d1bef715b6dd65d5ab89e5de3
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list