Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
506ba466
Commit
506ba466
authored
May 11, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics.
parent
f05f6fee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+5
-3
No files found.
src/stream_output/stream_output.c
View file @
506ba466
...
...
@@ -47,6 +47,8 @@
#include "input/input_interface.h"
#define VLC_CODEC_NULL VLC_FOURCC( 'n', 'u', 'l', 'l' )
#undef DEBUG_BUFFER
/*****************************************************************************
* Local prototypes
...
...
@@ -211,7 +213,7 @@ sout_packetizer_input_t *sout_InputNew( sout_instance_t *p_sout,
msg_Dbg
(
p_sout
,
"adding a new sout input (sout_input:%p)"
,
p_input
);
if
(
p_fmt
->
i_codec
==
VLC_
FOURCC
(
'n'
,
'u'
,
'l'
,
'l'
)
)
if
(
p_fmt
->
i_codec
==
VLC_
CODEC_NULL
)
{
vlc_object_release
(
p_sout
);
return
p_input
;
...
...
@@ -240,7 +242,7 @@ int sout_InputDelete( sout_packetizer_input_t *p_input )
msg_Dbg
(
p_sout
,
"removing a sout input (sout_input:%p)"
,
p_input
);
if
(
p_input
->
p_fmt
->
i_codec
!=
VLC_
FOURCC
(
'n'
,
'u'
,
'l'
,
'l'
)
)
if
(
p_input
->
p_fmt
->
i_codec
!=
VLC_
CODEC_NULL
)
{
vlc_mutex_lock
(
&
p_sout
->
lock
);
p_sout
->
p_stream
->
pf_del
(
p_sout
->
p_stream
,
p_input
->
id
);
...
...
@@ -261,7 +263,7 @@ int sout_InputSendBuffer( sout_packetizer_input_t *p_input,
sout_instance_t
*
p_sout
=
p_input
->
p_sout
;
int
i_ret
;
if
(
p_input
->
p_fmt
->
i_codec
==
VLC_
FOURCC
(
'n'
,
'u'
,
'l'
,
'l'
)
)
if
(
p_input
->
p_fmt
->
i_codec
==
VLC_
CODEC_NULL
)
{
block_Release
(
p_buffer
);
return
VLC_SUCCESS
;
...
...
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