use correct ffmpeg width/height fields
Originally committed to SVN as r241.
This commit is contained in:
parent
4036f73e43
commit
f0cf313be0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue