diff --git a/src/gstvpe.c b/src/gstvpe.c index a5ed1ff..de0fbd9 100644 --- a/src/gstvpe.c +++ b/src/gstvpe.c @@ -209,6 +209,9 @@ gst_vpe_set_output_caps (GstVpe * self) (self->interlaced) ? self->input_crop.c.height * 2 : self->input_crop.c.height; self->output_width = self->input_crop.c.width; + } else if(self->input_crop.c.width) { + self->output_height = self->input_crop.c.height; + self->output_width = self->input_crop.c.width; } else { self->output_height = self->input_height; self->output_width = self->input_width;