diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-10-18 14:20:58 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-10-18 14:20:58 +0000 |
commit | b3f5dea2ce5abd240a33a65ac77dd675c6886c05 (patch) | |
tree | 3dd1047462296e5b00c54115de38104237d75b89 /src/liba52 | |
parent | 544297ca6a13e6797a4ee895fc63efceb5602d30 (diff) | |
download | xine-lib-b3f5dea2ce5abd240a33a65ac77dd675c6886c05.tar.gz xine-lib-b3f5dea2ce5abd240a33a65ac77dd675c6886c05.tar.bz2 |
A52 audio is now output without volume set to 0 or off. :-)
Config entries not enabled yet.
Possible multiple stream issues.
CVS patchset: 2849
CVS date: 2002/10/18 14:20:58
Diffstat (limited to 'src/liba52')
-rw-r--r-- | src/liba52/xine_decoder.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liba52/xine_decoder.c b/src/liba52/xine_decoder.c index c8cb9f088..880d0e791 100644 --- a/src/liba52/xine_decoder.c +++ b/src/liba52/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.33 2002/10/18 12:28:11 jcdutton Exp $ + * $Id: xine_decoder.c,v 1.34 2002/10/18 14:20:58 jcdutton Exp $ * * stuff needed to turn liba52 into a xine decoder plugin */ @@ -278,7 +278,6 @@ static void a52dec_decode_frame (a52dec_decoder_t *this, int64_t pts) { /* output decoded samples */ buf->vpts = pts; - this->audio_out->put_buffer (this->audio_out, buf); } else { @@ -344,8 +343,8 @@ void a52dec_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { return; if (buf->pts) - this->pts = buf->pts; - + this->pts = buf->pts; + while (current != end) { if ( (this->sync_todo == 0) && (this->frame_todo == 0) ) { @@ -449,6 +448,7 @@ static audio_decoder_t *open_plugin (audio_decoder_class_t *class_gen, xine_stre this->stream = stream; this->class = (a52dec_class_t *) class_gen; + this->a52_level = (float) 1.0; #if 0 this->a52_level = (float) cfg->register_range (cfg, "codec.a52_level", 100, 0, 200, |