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
e9eb5d5e
Commit
e9eb5d5e
authored
Sep 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout_buffer_t.b_disconuity -> aout_buffert.i_flags
parent
0c7e60bf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
include/vlc_aout.h
include/vlc_aout.h
+1
-1
modules/audio_filter/converter/mpgatofixed32.c
modules/audio_filter/converter/mpgatofixed32.c
+2
-2
modules/codec/mpeg_audio.c
modules/codec/mpeg_audio.c
+2
-1
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+1
-1
src/audio_output/common.c
src/audio_output/common.c
+1
-1
No files found.
include/vlc_aout.h
View file @
e9eb5d5e
...
...
@@ -133,7 +133,7 @@ struct aout_buffer_t
* is the number of significative bytes in it. */
size_t
i_size
,
i_nb_bytes
;
unsigned
int
i_nb_samples
;
bool
b_discontinuity
;
/* Set on discontinuity (for non pcm stream) */
uint32_t
i_flags
;
mtime_t
i_pts
,
end_date
;
struct
aout_buffer_t
*
p_next
;
...
...
modules/audio_filter/converter/mpgatofixed32.c
View file @
e9eb5d5e
...
...
@@ -141,7 +141,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
mad_stream_errorstr
(
&
p_sys
->
mad_stream
)
);
p_sys
->
i_reject_count
=
3
;
}
else
if
(
p_in_buf
->
b_discontinuity
)
else
if
(
p_in_buf
->
i_flags
&
BLOCK_FLAG_DISCONUITY
)
{
p_sys
->
i_reject_count
=
3
;
}
...
...
@@ -395,7 +395,7 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
aout_filter
.
output
.
i_format
=
p_filter
->
fmt_out
.
i_codec
;
in_buf
.
p_buffer
=
p_block
->
p_buffer
;
in_buf
.
b_discontinuity
=
false
;
in_buf
.
i_flags
=
0
;
in_buf
.
i_nb_bytes
=
p_block
->
i_buffer
;
in_buf
.
i_nb_samples
=
p_block
->
i_nb_samples
;
out_buf
.
p_buffer
=
p_out
->
p_buffer
;
...
...
modules/codec/mpeg_audio.c
View file @
e9eb5d5e
...
...
@@ -541,7 +541,8 @@ static aout_buffer_t *GetAoutBuffer( decoder_t *p_dec )
p_buf
->
i_pts
=
date_Get
(
&
p_sys
->
end_date
);
p_buf
->
end_date
=
date_Increment
(
&
p_sys
->
end_date
,
p_sys
->
i_frame_length
);
p_buf
->
b_discontinuity
=
p_sys
->
b_discontinuity
;
if
(
p_sys
->
b_discontinuity
)
p_buf
->
i_flags
|=
BLOCK_FLAG_DISCONTINUITY
;
p_sys
->
b_discontinuity
=
false
;
/* Hack for libmad filter */
...
...
modules/stream_out/transcode.c
View file @
e9eb5d5e
...
...
@@ -1368,7 +1368,7 @@ static aout_buffer_t *audio_new_buffer( decoder_t *p_dec, int i_samples )
p_buffer
=
malloc
(
sizeof
(
aout_buffer_t
)
);
if
(
!
p_buffer
)
return
NULL
;
p_buffer
->
b_discontinuity
=
false
;
p_buffer
->
i_flags
=
0
;
p_buffer
->
p_sys
=
p_block
=
block_New
(
p_dec
,
i_size
);
p_buffer
->
p_buffer
=
p_block
->
p_buffer
;
...
...
src/audio_output/common.c
View file @
e9eb5d5e
...
...
@@ -719,6 +719,6 @@ aout_buffer_t *aout_BufferAlloc(aout_alloc_t *allocation, mtime_t microseconds,
buffer
->
i_size
=
i_alloc_size
;
buffer
->
p_buffer
=
(
uint8_t
*
)
buffer
+
sizeof
(
aout_buffer_t
);
buffer
->
b_discontinuity
=
false
;
buffer
->
i_flags
=
0
;
return
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