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
631a4861
Commit
631a4861
authored
Aug 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make access_out independent of sout instance
parent
42051dfb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
include/vlc_sout.h
include/vlc_sout.h
+0
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+0
-1
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+2
-1
No files found.
include/vlc_sout.h
View file @
631a4861
...
...
@@ -100,7 +100,6 @@ struct sout_access_out_t
int
(
*
pf_control
)(
sout_access_out_t
*
,
int
,
va_list
);
config_chain_t
*
p_cfg
;
sout_instance_t
*
p_sout
;
};
enum
access_out_query_e
...
...
modules/stream_out/rtp.c
View file @
631a4861
...
...
@@ -1727,7 +1727,6 @@ static sout_access_out_t *GrabberCreate( sout_stream_t *p_stream )
return
NULL
;
p_grab
->
p_module
=
NULL
;
p_grab
->
p_sout
=
p_stream
->
p_sout
;
p_grab
->
psz_access
=
strdup
(
"grab"
);
p_grab
->
p_cfg
=
NULL
;
p_grab
->
psz_path
=
strdup
(
""
);
...
...
src/stream_output/stream_output.c
View file @
631a4861
...
...
@@ -307,7 +307,6 @@ sout_access_out_t *sout_AccessOutNew( sout_instance_t *p_sout,
psz_access
);
free
(
psz_next
);
p_access
->
psz_path
=
strdup
(
psz_name
?
psz_name
:
""
);
p_access
->
p_sout
=
p_sout
;
p_access
->
p_sys
=
NULL
;
p_access
->
pf_seek
=
NULL
;
p_access
->
pf_read
=
NULL
;
...
...
@@ -375,6 +374,7 @@ ssize_t sout_AccessOutRead( sout_access_out_t *p_access, block_t *p_buffer )
*****************************************************************************/
ssize_t
sout_AccessOutWrite
(
sout_access_out_t
*
p_access
,
block_t
*
p_buffer
)
{
#if 0
const unsigned i_packets_gather = 30;
p_access->i_writes++;
p_access->i_sent_bytes += p_buffer->i_buffer;
...
...
@@ -384,6 +384,7 @@ ssize_t sout_AccessOutWrite( sout_access_out_t *p_access, block_t *p_buffer )
sout_UpdateStatistic( p_access->p_sout, SOUT_STATISTIC_SENT_BYTE, p_access->i_sent_bytes );
p_access->i_sent_bytes = 0;
}
#endif
return
p_access
->
pf_write
(
p_access
,
p_buffer
);
}
...
...
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