mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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…
x
Reference in New Issue
Block a user