Skip to content
Snippets Groups Projects
Commit dabccb4d authored by Aline Gondim Santos's avatar Aline Gondim Santos Committed by Adrien Béraud
Browse files

conference: fix resolution change

Change-Id: I55568eac3c95105131751d245224fbc3fd44a782
parent e6e47942
Branches
No related tags found
No related merge requests found
......@@ -360,7 +360,10 @@ SinkClient::update(Observable<std::shared_ptr<MediaFrame>>* /*obs*/,
outFrame->pointer()->crop_right = (size_t) outFrame->width() - crop_.x - crop_.w;
av_frame_apply_cropping(outFrame->pointer(), AV_FRAME_CROP_UNALIGNED);
}
if (outFrame->height() != height_ || outFrame->width() != width_) {
setFrameSize(0, 0);
setFrameSize(outFrame->width(), outFrame->height());
}
avTarget_.push(std::move(outFrame));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment