Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
cf168e78
Commit
cf168e78
authored
Nov 10, 2009
by
Jean-Philippe André
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stream: Export stream_FilterNew
parent
2039a06b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
include/vlc_stream.h
include/vlc_stream.h
+5
-0
src/input/stream_filter.c
src/input/stream_filter.c
+3
-0
src/libvlccore.sym
src/libvlccore.sym
+1
-0
No files found.
include/vlc_stream.h
View file @
cf168e78
...
...
@@ -181,6 +181,11 @@ VLC_EXPORT( stream_t *,__stream_MemoryNew, (vlc_object_t *p_obj, uint8_t *p_buff
#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
)
);
/**
* Try to add a stream filter to an open stream.
* @return New stream to use, or NULL if the filter could not be added.
**/
VLC_EXPORT
(
stream_t
*
,
stream_FilterNew
,
(
stream_t
*
p_source
,
const
char
*
psz_stream_filter
)
);
/**
* @}
*/
...
...
src/input/stream_filter.c
View file @
cf168e78
...
...
@@ -29,6 +29,8 @@
#include <vlc_stream.h>
#include <libvlc.h>
#include <assert.h>
#include "stream.h"
static
void
StreamDelete
(
stream_t
*
);
...
...
@@ -37,6 +39,7 @@ stream_t *stream_FilterNew( stream_t *p_source,
const
char
*
psz_stream_filter
)
{
stream_t
*
s
;
assert
(
p_source
!=
NULL
);
s
=
stream_CommonNew
(
VLC_OBJECT
(
p_source
)
);
if
(
s
==
NULL
)
...
...
src/libvlccore.sym
View file @
cf168e78
...
...
@@ -388,6 +388,7 @@ stream_Control
stream_Delete
stream_DemuxNew
stream_DemuxSend
stream_FilterNew
__stream_MemoryNew
stream_Peek
stream_Read
...
...
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