mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
dshowdecwrapper: fix compilation.
Accidently merged part of one change; remove it.
This commit is contained in:
parent
8ad4f28d67
commit
24e1e95547
1 changed files with 0 additions and 7 deletions
|
@ -726,13 +726,6 @@ dshowaudiodec_set_input_format (GstDshowAudioDec *adec, GstCaps *caps)
|
||||||
mp3format->nBlockSize = 1;
|
mp3format->nBlockSize = 1;
|
||||||
mp3format->nFramesPerBlock = 1;
|
mp3format->nFramesPerBlock = 1;
|
||||||
mp3format->nCodecDelay = 0;
|
mp3format->nCodecDelay = 0;
|
||||||
|
|
||||||
/* The XP decoder also has problems with some MP3 frames. If it tries
|
|
||||||
* to decode one, then forever after it outputs silence.
|
|
||||||
* If we recognise such a frame, just skip decoding it.
|
|
||||||
*/
|
|
||||||
if (adec->decoder_is_xp_mp3)
|
|
||||||
adec->check_mp3_frames = TRUE;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
format = (WAVEFORMATEX *)g_malloc0 (size);
|
format = (WAVEFORMATEX *)g_malloc0 (size);
|
||||||
|
|
Loading…
Reference in a new issue