summaryrefslogtreecommitdiff
path: root/ges/gstframepositionner.c
diff options
context:
space:
mode:
Diffstat (limited to 'ges/gstframepositionner.c')
-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;