[longomatch] Use lamemp3enc encoder
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use lamemp3enc encoder
- Date: Tue, 8 Jun 2010 21:47:27 +0000 (UTC)
commit 85c2f8be2e65db3bdd123245105b732464b1e327
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Jun 3 21:39:55 2010 +0200
Use lamemp3enc encoder
libcesarplayer/src/gst-camera-capturer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 122a537..50987d4 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -1172,7 +1172,8 @@ gst_camera_capturer_set_audio_encoder (GstCameraCapturer * gcc,
switch (type) {
case AUDIO_ENCODER_MP3:
- gcc->priv->audioenc = gst_element_factory_make ("lame", "audio-encoder");
+ gcc->priv->audioenc = gst_element_factory_make ("lamemp3enc", "audio-encoder");
+ g_object_set (gcc->priv->audioenc, "target", 0, NULL);
name = "Mp3 audio encoder";
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]