[longomatch] Update audio and video encoder type when changing it
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Update audio and video encoder type when changing it
- Date: Wed, 9 Jun 2010 19:59:16 +0000 (UTC)
commit c7c7ee943a460b355217572c0a6f7180c145ab5b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Jun 9 01:38:28 2010 +0200
Update audio and video encoder type when changing it
libcesarplayer/src/gst-camera-capturer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 08d54bc..87e7051 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -1206,6 +1206,7 @@ gst_camera_capturer_set_video_encoder (GstCameraCapturer * gcc,
} else {
g_object_set (gcc->priv->camerabin, "video-encoder", gcc->priv->videoenc,
NULL);
+ gcc->priv->video_encoder_type = type;
}
return TRUE;
}
@@ -1248,6 +1249,7 @@ gst_camera_capturer_set_audio_encoder (GstCameraCapturer * gcc,
} else {
g_object_set (gcc->priv->camerabin, "audio-encoder", gcc->priv->audioenc,
NULL);
+ gcc->priv->audio_encoder_type = type;
}
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]