Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
5a079f61
Commit
5a079f61
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: remove leading underscores
parent
6bf37456
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
include/vlc_stream.h
include/vlc_stream.h
+5
-4
src/input/stream.c
src/input/stream.c
+2
-1
src/input/stream_memory.c
src/input/stream_memory.c
+3
-2
src/libvlccore.sym
src/libvlccore.sym
+2
-2
No files found.
include/vlc_stream.h
View file @
5a079f61
...
...
@@ -176,15 +176,16 @@ VLC_EXPORT( void, stream_DemuxSend, ( stream_t *s, block_t *p_block ) );
* Create a stream_t reading from memory.
* You must delete it using stream_Delete.
*/
#define stream_MemoryNew( a, b, c, d ) __stream_MemoryNew( VLC_OBJECT(a), b, c, d )
VLC_EXPORT
(
stream_t
*
,
__stream_MemoryNew
,
(
vlc_object_t
*
p_obj
,
uint8_t
*
p_buffer
,
uint64_t
i_size
,
bool
b_preserve_memory
)
);
VLC_EXPORT
(
stream_t
*
,
stream_MemoryNew
,
(
vlc_object_t
*
p_obj
,
uint8_t
*
p_buffer
,
uint64_t
i_size
,
bool
b_preserve_memory
)
);
#define stream_MemoryNew( a, b, c, d ) stream_MemoryNew( VLC_OBJECT(a), b, c, d )
/**
* Create a stream_t reading from an URL.
* You must delete it using stream_Delete.
*/
#define stream_UrlNew( a, b ) __stream_UrlNew( VLC_OBJECT(a), b )
VLC_EXPORT
(
stream_t
*
,
__stream_UrlNew
,
(
vlc_object_t
*
p_this
,
const
char
*
psz_url
)
);
VLC_EXPORT
(
stream_t
*
,
stream_UrlNew
,
(
vlc_object_t
*
p_this
,
const
char
*
psz_url
)
);
#define stream_UrlNew( a, b ) stream_UrlNew( VLC_OBJECT(a), b )
/**
* Try to add a stream filter to an open stream.
...
...
src/input/stream.c
View file @
5a079f61
...
...
@@ -243,10 +243,11 @@ void stream_CommonDelete( stream_t *s )
vlc_object_release
(
s
);
}
#undef stream_UrlNew
/****************************************************************************
* stream_UrlNew: create a stream from a access
****************************************************************************/
stream_t
*
__
stream_UrlNew
(
vlc_object_t
*
p_parent
,
const
char
*
psz_url
)
stream_t
*
stream_UrlNew
(
vlc_object_t
*
p_parent
,
const
char
*
psz_url
)
{
const
char
*
psz_access
,
*
psz_demux
;
char
*
psz_path
;
...
...
src/input/stream_memory.c
View file @
5a079f61
...
...
@@ -41,6 +41,7 @@ static int Peek ( stream_t *, const uint8_t **pp_peek, unsigned int i_read );
static
int
Control
(
stream_t
*
,
int
i_query
,
va_list
);
static
void
Delete
(
stream_t
*
);
#undef stream_MemoryNew
/**
* Create a stream from a memory buffer
*
...
...
@@ -50,8 +51,8 @@ static void Delete ( stream_t * );
* \param i_preserve_memory if this is set to false the memory buffer
* pointed to by p_buffer is freed on stream_Destroy
*/
stream_t
*
__
stream_MemoryNew
(
vlc_object_t
*
p_this
,
uint8_t
*
p_buffer
,
uint64_t
i_size
,
bool
i_preserve_memory
)
stream_t
*
stream_MemoryNew
(
vlc_object_t
*
p_this
,
uint8_t
*
p_buffer
,
uint64_t
i_size
,
bool
i_preserve_memory
)
{
stream_t
*
s
=
stream_CommonNew
(
p_this
);
stream_sys_t
*
p_sys
;
...
...
src/libvlccore.sym
View file @
5a079f61
...
...
@@ -399,11 +399,11 @@ stream_Delete
stream_DemuxNew
stream_DemuxSend
stream_FilterNew
__
stream_MemoryNew
stream_MemoryNew
stream_Peek
stream_Read
stream_ReadLine
__
stream_UrlNew
stream_UrlNew
stream_vaControl
__str_format
__str_format_meta
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment