From df256d9401cf168b7e336522f6295b1ac91450c0 Mon Sep 17 00:00:00 2001
From: Marten Richter <marten.richter@freenet.de>
Date: Tue, 31 Dec 2013 10:52:50 +0100
Subject: [PATCH] Fix bug in demuxer widescreen signaling

---
 demuxer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/demuxer.cc b/demuxer.cc
index 30dae83..126596a 100644
--- a/demuxer.cc
+++ b/demuxer.cc
@@ -654,7 +654,7 @@ void Demuxer::setDVBSubtitleStream(int id)
 
 void Demuxer::setAspectRatio(enum AspectRatio ar, int taspectx, int taspecty)
 {
-  if (aspect_ratio != ar)
+  if ((aspect_ratio != ar) || (parx !=  taspectx) || (pary != taspecty) )
   {
     Log::getInstance()->log("Demux", Log::DEBUG,
                             "Aspect ratio difference signalled");
-- 
2.39.5