Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1ad91d0b
Commit
1ad91d0b
authored
Aug 26, 2003
by
Laurent Aimar
Browse files
* mpegaudio: set i_bitrate field. (won't work with vbr)
parent
503bdd97
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/packetizer/mpegaudio.c
View file @
1ad91d0b
...
...
@@ -2,7 +2,7 @@
* mpegaudio.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mpegaudio.c,v 1.
6
2003/0
4/13 20:00:21
fenrir Exp $
* $Id: mpegaudio.c,v 1.
7
2003/0
8/26 23:12:37
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -309,7 +309,7 @@ static void PacketizeThread( packetizer_t *p_pack )
p_pack
->
output_format
.
i_sample_rate
=
i_samplerate
;
p_pack
->
output_format
.
i_channels
=
i_channels
;
p_pack
->
output_format
.
i_block_align
=
1
;
p_pack
->
output_format
.
i_bitrate
=
0
;
p_pack
->
output_format
.
i_bitrate
=
i_bitrate
*
100
0
;
p_pack
->
p_sout_input
=
sout_InputNew
(
p_pack
->
p_fifo
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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