[longomatch] vp8enc uses bps too
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] vp8enc uses bps too
- Date: Tue, 7 Sep 2010 20:21:33 +0000 (UTC)
commit 14660c2360600bfbd95023bd0913e85e9681bf86
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Aug 6 22:57:46 2010 +0200
vp8enc uses bps too
libcesarplayer/src/gst-video-editor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/src/gst-video-editor.c b/libcesarplayer/src/gst-video-editor.c
index 4667a2e..d976696 100644
--- a/libcesarplayer/src/gst-video-editor.c
+++ b/libcesarplayer/src/gst-video-editor.c
@@ -1013,7 +1013,8 @@ gst_video_editor_set_video_encoder (GstVideoEditor * gve, gchar ** err,
/*Add new encoder element */
gve->priv->video_encoder = encoder;
- if (codec == VIDEO_ENCODER_XVID || codec == VIDEO_ENCODER_MPEG4)
+ if (codec == VIDEO_ENCODER_XVID || codec == VIDEO_ENCODER_MPEG4 ||
+ codec == VIDEO_ENCODER_VP8)
g_object_set (G_OBJECT (gve->priv->video_encoder), "bitrate",
gve->priv->video_bitrate * 1000, NULL);
else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]