ffmpeg: add default frame_size for g726
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 17 Apr 2009 14:25:12 +0000 (16:25 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 17 Apr 2009 14:27:09 +0000 (16:27 +0200)
commit11db4588a673fe8ae2aeb38dafa1d025c0774e46
tree8076e0a484c3f8a25c3da30e4c76c5dc415cda54
parenta3d1cfe2474a49ae5cb1cc7d3273528e6aa58a3c
ffmpeg: add default frame_size for g726

Without a frame_size configured in the context, the ffmpeg encoders do nothing.
Since the G726 does not configure a size itself, we set ourselves a frame_size
that corresponds to 20ms of audio, which is a reasonable default.
ext/ffmpeg/gstffmpegcodecmap.c