mirror of https://github.com/odrling/Aegisub
use correct ffmpeg width/height fields
Originally committed to SVN as r241.
This commit is contained in:
parent
4036f73e43
commit
f0cf313be0
|
@ -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 New Issue