summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2014-04-10 18:03:55 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-04-23 12:13:22 +0200
commitf1a150f95e7bb669b61aed0a3dd2c4d89ff557f5 (patch)
treeefe0fbeb6d64e3ddceea3683db51b88d954ad54a
parent085b442aa3d48e0ef3ab1a26f966bae182b7f9e0 (diff)
framepositioner: Set the proper default value
Most likely a copy/paste error. CID #1139646
-rw-r--r--ges/gstframepositionner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ges/gstframepositionner.c b/ges/gstframepositionner.c
index b9cfeb6d..fed4a942 100644
--- a/ges/gstframepositionner.c
+++ b/ges/gstframepositionner.c
@@ -131,7 +131,7 @@ sync_properties_from_caps (GstFramePositionner * pos, GstCaps * caps)
if (!gst_structure_get_int (structure, "width", &width))
width = 0;
if (!gst_structure_get_int (structure, "height", &height))
- width = 0;
+ height = 0;
if (!gst_structure_get_fraction (structure, "framerate", &(pos->fps_n),
&(pos->fps_d)))
pos->fps_n = -1;