framepositionner: Fix wrong old size check condition
authorThibault Saunier <tsaunier@igalia.com>
Thu, 9 Apr 2020 15:17:59 +0000 (11:17 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 10 Apr 2020 15:12:12 +0000 (11:12 -0400)
CID: 1461277

ges/gstframepositioner.c

index a64c4c964b2b7ec27f295ef577e95fd6c7bf482b..8fd203380197a3289bd43aed6eedd4c096130be5 100644 (file)
@@ -263,7 +263,7 @@ gst_frame_positioner_update_properties (GstFramePositioner * pos,
   } else if (auto_position (pos))
     goto done;
 
-  if (!old_track_height || !old_track_height) {
+  if (!old_track_height || !old_track_width) {
     GST_DEBUG_OBJECT (pos, "No old track size, can not properly reposition");
     goto done;
   }