Commit 92b8a5ad authored by Wim Taymans's avatar Wim Taymans Committed by Wim Taymans

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.
parent a0c7a2d0
......@@ -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";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment