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
f137e017
Commit
f137e017
authored
Apr 04, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input resource: allow operation without input
This breaks SPU but at least video and audio should work.
parent
269766b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/input/resource.c
src/input/resource.c
+2
-4
No files found.
src/input/resource.c
View file @
f137e017
...
...
@@ -95,7 +95,6 @@ static sout_instance_t *RequestSout( input_resource_t *p_resource,
return
NULL
;
}
assert
(
p_resource
->
p_input
);
assert
(
!
p_sout
||
(
!
p_resource
->
p_sout
&&
!
psz_sout
)
);
/* Check the validity of the sout */
...
...
@@ -149,7 +148,8 @@ static void DestroyVout( input_resource_t *p_resource )
static
void
DisplayVoutTitle
(
input_resource_t
*
p_resource
,
vout_thread_t
*
p_vout
)
{
assert
(
p_resource
->
p_input
);
if
(
p_resource
->
p_input
==
NULL
)
return
;
/* TODO display the title only one time for the same input ? */
...
...
@@ -206,7 +206,6 @@ static vout_thread_t *RequestVout( input_resource_t *p_resource,
return
NULL
;
}
assert
(
p_resource
->
p_input
);
if
(
p_fmt
)
{
/* */
...
...
@@ -333,7 +332,6 @@ static void DestroyAout( input_resource_t *p_resource )
static
aout_instance_t
*
RequestAout
(
input_resource_t
*
p_resource
,
aout_instance_t
*
p_aout
)
{
vlc_assert_locked
(
&
p_resource
->
lock
);
assert
(
p_resource
->
p_input
);
if
(
p_aout
)
{
...
...
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