summaryrefslogtreecommitdiff
path: root/ext/ffmpeg/gstffmpegcodecmap.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-05-12 22:20:49 +0200
committerWim Taymans <wim@metal.(none)>2009-05-12 22:20:49 +0200
commit92b8a5adc996f48e46d522eccbafea1284773291 (patch)
tree974e1b8299ad74785eb39b96866a8b60c27b16df /ext/ffmpeg/gstffmpegcodecmap.c
parenta0c7a2d0c5e8d79650cd8d116d696881deb808d5 (diff)
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.
Diffstat (limited to 'ext/ffmpeg/gstffmpegcodecmap.c')
-rw-r--r--ext/ffmpeg/gstffmpegcodecmap.c3
1 files changed, 0 insertions, 3 deletions
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";