gst-android: Fix wrong size at surface creation

Reynaldo H. Verdejo Pinochet reynaldo at kemper.freedesktop.org
Thu Jan 19 14:50:09 PST 2012


Module: gst-android
Branch: master
Commit: 701a9c01f7c87d8f765009df50c58f3fad0a55d8
URL:    http://cgit.freedesktop.org/gstreamer/gst-android/commit/?id=701a9c01f7c87d8f765009df50c58f3fad0a55d8

Author: Reynaldo H. Verdejo Pinochet <reynaldo at collabora.com>
Date:   Thu Jan 19 17:57:37 2012 -0300

Fix wrong size at surface creation

---

 sink/surfaceflingersink/surfaceflinger_wrap.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sink/surfaceflingersink/surfaceflinger_wrap.cpp b/sink/surfaceflingersink/surfaceflinger_wrap.cpp
index e2e98ed..0a83035 100644
--- a/sink/surfaceflingersink/surfaceflinger_wrap.cpp
+++ b/sink/surfaceflingersink/surfaceflinger_wrap.cpp
@@ -121,7 +121,7 @@ videoflinger_device_create_new_surface (VideoFlingerDevice * videodev)
   videodev->isurface.clear ();
 
   int width = (videodev->width) > 320 ? 320 : videodev->width;
-  int height = (videodev->height) > 320 ? 320 : videodev->height;
+  int height = (videodev->height) > 240 ? 240 : videodev->height;
 
   videodev->surface = videoClient->createSurface (pid,
       0,



More information about the gstreamer-commits mailing list