[longomatch] Do the video rate conversion before the scalling and colorspace conversion



commit c532cfa62269586f68d28c6567396c28af1d17dc
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Dec 13 03:20:32 2014 +0100

    Do the video rate conversion before the scalling and colorspace conversion

 libcesarplayer/gst-camera-capturer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index 9a5ebd3..391fb6f 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -352,8 +352,8 @@ gst_camera_capturer_create_encoder_bin (GstCameraCapturer * gcc)
   }
   g_object_set (gcc->priv->video_filter, "caps", caps, NULL);
 
-  gst_bin_add_many (GST_BIN (gcc->priv->encoder_bin), videoscale,
-      colorspace, videorate, gcc->priv->video_filter, gcc->priv->video_enc,
+  gst_bin_add_many (GST_BIN (gcc->priv->encoder_bin), videorate, videoscale,
+      colorspace, gcc->priv->video_filter, gcc->priv->video_enc,
       gcc->priv->muxer, gcc->priv->filesink, NULL);
 
   gst_element_link_many (videoscale, colorspace, videorate,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]