From 92b8a5adc996f48e46d522eccbafea1284773291 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 12 May 2009 22:20:49 +0200 Subject: 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. --- ext/ffmpeg/gstffmpegcodecmap.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/ffmpeg/gstffmpegcodecmap.c') diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 88d96ec..b67949b 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -1236,9 +1236,6 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id, break; case CODEC_ID_ADPCM_G726: layout = "g726"; - if (context) - /* get a default 20ms packet size */ - context->frame_size = context->sample_rate / 50; break; case CODEC_ID_ADPCM_CT: layout = "ct"; -- cgit v1.2.3