[vlc-commits] input: make the input_source_t struct public
Thomas Guillem
git at videolan.org
Fri Feb 28 20:46:06 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Feb 26 11:20:12 2020 +0100| [c2a4de8137a60ec054b7e1dacaed184598981cd3] | committer: Thomas Guillem
input: make the input_source_t struct public
But continue to hide its definition and usage. It will just be used to passed
from demuxers to the display es_out that will actually use it.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2a4de8137a60ec054b7e1dacaed184598981cd3
---
include/vlc_common.h | 1 +
src/input/input_internal.h | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index e4c5cd85c9..d5e9f1eb71 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -356,6 +356,7 @@ typedef struct config_category_t config_category_t;
/* Input */
typedef struct input_item_t input_item_t;
typedef struct input_item_node_t input_item_node_t;
+typedef struct input_source_t input_source_t;
typedef struct stream_t stream_t;
typedef struct stream_t demux_t;
typedef struct es_out_t es_out_t;
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index f10b6243e3..3b46771a3d 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -365,7 +365,7 @@ input_item_t* input_GetItem( input_thread_t * ) VLC_USED;
#define INPUT_CONTROL_FIFO_SIZE 100
/* input_source_t: gathers all information per input source */
-typedef struct
+struct input_source_t
{
vlc_atomic_rc_t rc;
@@ -401,7 +401,7 @@ typedef struct
bool b_eof; /* eof of demuxer */
-} input_source_t;
+};
typedef union
{
More information about the vlc-commits
mailing list