[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-cvs
Subject:    gst-plugins-base: examples: update for new force-aspect-ratio default
From:       tpm () kemper ! freedesktop ! org (Tim Müller)
Date:       2012-06-29 10:47:05
Message-ID: 20120629104705.77FFE10049 () kemper ! freedesktop ! org
[Download RAW message or body]

Module: gst-plugins-base
Branch: master
Commit: 01270a447e274807511df60e088dcff26f92c588
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=01270a447e274807511df60e088dcff26f92c588


Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Fri Jun 29 11:46:23 2012 +0100

examples: update for new force-aspect-ratio default

---

 tests/examples/playback/playback-test.c |    5 -----
 tests/examples/seek/jsseek.c            |    5 -----
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/tests/examples/playback/playback-test.c \
b/tests/examples/playback/playback-test.c index 7a04493..2b3f719 100644
--- a/tests/examples/playback/playback-test.c
+++ b/tests/examples/playback/playback-test.c
@@ -2070,11 +2070,6 @@ bus_sync_handler (GstBus * bus, GstMessage * message, \
                PlaybackApp * app)
     g_print ("got prepare-xwindow-id, setting XID %" G_GUINTPTR_FORMAT "\n",
         app->embed_xid);
 
-    if (g_object_class_find_property (G_OBJECT_GET_CLASS (element),
-            "force-aspect-ratio")) {
-      g_object_set (element, "force-aspect-ratio", TRUE, NULL);
-    }
-
     /* Should have been initialised from main thread before (can't use
      * GDK_WINDOW_XID here with Gtk+ >= 2.18, because the sync handler will
      * be called from a streaming thread and GDK_WINDOW_XID maps to more than
diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c
index 2c978d0..430876d 100644
--- a/tests/examples/seek/jsseek.c
+++ b/tests/examples/seek/jsseek.c
@@ -2443,11 +2443,6 @@ bus_sync_handler (GstBus * bus, GstMessage * message, \
GstPipeline * data)  
   g_print ("got prepare-window-handle, setting XID %lu\n", embed_xid);
 
-  if (g_object_class_find_property (G_OBJECT_GET_CLASS (element),
-          "force-aspect-ratio")) {
-    g_object_set (element, "force-aspect-ratio", TRUE, NULL);
-  }
-
   /* Should have been initialised from main thread before (can't use
    * GDK_WINDOW_XID here with Gtk+ >= 2.18, because the sync handler will
    * be called from a streaming thread and GDK_WINDOW_XID maps to more than



_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic