From 999bdd72c924a09c76ce6553f1fdb9fcb4f83dd6 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 15 Jul 2015 14:35:02 -0400 Subject: [PATCH] gtksink: Ensure the copy pasted code remains the same 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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/gtk/gstgtksink.c b/ext/gtk/gstgtksink.c index 524ff5ab6c..215ea937bb 100644 --- a/ext/gtk/gstgtksink.c +++ b/ext/gtk/gstgtksink.c @@ -32,6 +32,11 @@ 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,