[gst-cvs] gst-ffmpeg: codecmap: revert bogus commit.

Wim Taymans wtay at kemper.freedesktop.org
Tue May 12 16:06:23 PDT 2009


Module: gst-ffmpeg
Branch: master
Commit: 92b8a5adc996f48e46d522eccbafea1284773291
URL:    http://cgit.freedesktop.org/gstreamer/gst-ffmpeg/commit/?id=92b8a5adc996f48e46d522eccbafea1284773291

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Tue May 12 22:20:49 2009 +0200

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 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";





More information about the Gstreamer-commits mailing list