diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2014-03-24 21:47:15 +0100 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2014-03-24 21:47:15 +0100 |
| commit | b55b41753187a665740b216e39fd2bdf3ef21b95 (patch) | |
| tree | 68f09da76889df565a73703d04e0d8a6c0fb0da6 | |
| parent | bdb03849d1e553ea6bc14643f3a135c75079b2f3 (diff) | |
| download | vdr-plugin-rpihddevice-b55b41753187a665740b216e39fd2bdf3ef21b95.tar.gz vdr-plugin-rpihddevice-b55b41753187a665740b216e39fd2bdf3ef21b95.tar.bz2 | |
report valid VideoAspect if video is stopped (reported by Rolf Ahrenberg)
| -rw-r--r-- | omxdevice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/omxdevice.c b/omxdevice.c index 700f0ee..76aa89d 100644 --- a/omxdevice.c +++ b/omxdevice.c @@ -108,6 +108,8 @@ void cOmxDevice::GetVideoSize(int &Width, int &Height, double &VideoAspect) if (Height) VideoAspect = (double)Width / Height; + else + VideoAspect = 1.0; } void cOmxDevice::SetVideoDisplayFormat(eVideoDisplayFormat VideoDisplayFormat) |
