diff --git a/core/video_provider_lavc.cpp b/core/video_provider_lavc.cpp index 3ef5ad1ea..6ebe6ab5d 100644 --- a/core/video_provider_lavc.cpp +++ b/core/video_provider_lavc.cpp @@ -450,14 +450,14 @@ int LAVCVideoProvider::GetHeight() { ////////////////////// // Get original width int LAVCVideoProvider::GetSourceWidth() { - return codecContext->coded_width; + return codecContext->width; } /////////////////////// // Get original height int LAVCVideoProvider::GetSourceHeight() { - return codecContext->coded_height; + return codecContext->height; }