Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
59d981e5
Commit
59d981e5
authored
Oct 23, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pulse: redundant initialization
parent
ff49d5e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+1
-1
No files found.
modules/audio_output/pulse.c
View file @
59d981e5
...
...
@@ -811,7 +811,6 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
attr
.
minreq
=
pa_usec_to_bytes
(
AOUT_MIN_PREPARE_TIME
,
&
ss
);
attr
.
fragsize
=
0
;
/* not used for output */
sys
->
stream
=
NULL
;
sys
->
trigger
=
NULL
;
sys
->
first_pts
=
VLC_TS_INVALID
;
...
...
@@ -872,6 +871,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
vlc_pa_error
(
aout
,
"stream creation failure"
,
sys
->
context
);
return
VLC_EGENERIC
;
}
assert
(
sys
->
stream
==
NULL
);
sys
->
stream
=
s
;
pa_stream_set_state_callback
(
s
,
stream_state_cb
,
sys
->
mainloop
);
pa_stream_set_buffer_attr_callback
(
s
,
stream_buffer_attr_cb
,
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