gtksink: Ensure the copy pasted code remains the same
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 15 Jul 2015 18:35:02 +0000 (14:35 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 16 Jul 2015 21:05:36 +0000 (17:05 -0400)
Move back the default property at the same place they are in the
other sink. This helps when using a diff viewer to synchronized
this unfortunate copy paste.

https://bugzilla.gnome.org/show_bug.cgi?id=751104

ext/gtk/gstgtksink.c

index 524ff5a..215ea93 100644 (file)
 GST_DEBUG_CATEGORY (gst_debug_gtk_sink);
 #define GST_CAT_DEFAULT gst_debug_gtk_sink
 
+#define DEFAULT_FORCE_ASPECT_RATIO  TRUE
+#define DEFAULT_PAR_N               0
+#define DEFAULT_PAR_D               1
+#define DEFAULT_IGNORE_ALPHA        TRUE
+
 static void gst_gtk_sink_finalize (GObject * object);
 static void gst_gtk_sink_set_property (GObject * object, guint prop_id,
     const GValue * value, GParamSpec * param_spec);
@@ -64,11 +69,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE (FORMATS))
     );
 
-#define DEFAULT_FORCE_ASPECT_RATIO  TRUE
-#define DEFAULT_PAR_N               0
-#define DEFAULT_PAR_D               1
-#define DEFAULT_IGNORE_ALPHA        TRUE
-
 enum
 {
   PROP_0,