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
d4fcb8ee
Commit
d4fcb8ee
authored
Jun 30, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/transcode.c: compilation fix.
parent
14682ad7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+3
-1
No files found.
modules/stream_out/transcode.c
View file @
d4fcb8ee
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* transcode.c
* transcode.c
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: transcode.c,v 1.
19 2003/06/29 20:58:16
gbazin Exp $
* $Id: transcode.c,v 1.
20 2003/06/30 20:08:21
gbazin Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -710,11 +710,13 @@ static int transcode_audio_ffmpeg_process( sout_stream_t *p_stream,
...
@@ -710,11 +710,13 @@ static int transcode_audio_ffmpeg_process( sout_stream_t *p_stream,
*
out
=
NULL
;
*
out
=
NULL
;
/* gather data into p_buffer_in */
/* gather data into p_buffer_in */
#ifdef HAVE_VORBIS_VORBISENC_H
if
(
id
->
f_dst
.
i_fourcc
==
VLC_FOURCC
(
'v'
,
'o'
,
'r'
,
'b'
)
)
if
(
id
->
f_dst
.
i_fourcc
==
VLC_FOURCC
(
'v'
,
'o'
,
'r'
,
'b'
)
)
id
->
i_dts
=
in
->
i_dts
-
id
->
i_dts
=
in
->
i_dts
-
(
mtime_t
)
1000000
*
(
mtime_t
)
id
->
i_samples_delay
/
(
mtime_t
)
1000000
*
(
mtime_t
)
id
->
i_samples_delay
/
(
mtime_t
)
id
->
f_dst
.
i_sample_rate
;
(
mtime_t
)
id
->
f_dst
.
i_sample_rate
;
else
else
#endif
id
->
i_dts
=
in
->
i_dts
-
id
->
i_dts
=
in
->
i_dts
-
(
mtime_t
)
1000000
*
(
mtime_t
)
1000000
*
(
mtime_t
)(
id
->
i_buffer_pos
/
2
/
id
->
ff_enc_c
->
channels
)
/
(
mtime_t
)(
id
->
i_buffer_pos
/
2
/
id
->
ff_enc_c
->
channels
)
/
...
...
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