codecmap: revert bogus commit.

We don't need to set a default frame_size, ffmpeg has set this value to 0 to
inform us that there is a fixed relation between the amount of input samples
and output samples. Now we only need to implement handling that fact.
This commit is contained in:
Wim Taymans 2009-05-12 22:20:49 +02:00 committed by Wim Taymans
parent a0c7a2d0c5
commit 92b8a5adc9

View file

@ -1236,9 +1236,6 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
break; break;
case CODEC_ID_ADPCM_G726: case CODEC_ID_ADPCM_G726:
layout = "g726"; layout = "g726";
if (context)
/* get a default 20ms packet size */
context->frame_size = context->sample_rate / 50;
break; break;
case CODEC_ID_ADPCM_CT: case CODEC_ID_ADPCM_CT:
layout = "ct"; layout = "ct";