[longomatch: 50/51] Resize the video after parsing the stream info to add black borders



commit 6077d733f3ace44f8ded958e7728e96f16bf11ef
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun May 16 16:45:44 2010 +0200

    Resize the video after parsing the stream info to add black borders

 libcesarplayer/src/gst-camera-capturer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index b65b149..5ff5af1 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -578,6 +578,7 @@ gst_camera_capturer_expose_event (GtkWidget * widget, GdkEventExpose * event)
     gcc_update_interface_implementations (gcc);
     g_object_get (gcc->priv->camerabin, "filter-caps", &caps, NULL);
     gcc_parse_video_stream_info (caps, gcc);
+    resize_video_window (gcc);
     gst_caps_unref (caps);
     xoverlay = gcc->priv->xoverlay;
   }



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