[vlc-commits] chroma/chain: also merge sar num/den

Thomas Guillem git at videolan.org
Fri Jan 19 12:01:47 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan 19 09:03:32 2018 +0100| [d24da94993fd5470ad98e4ec3a024cf28acce119] | committer: Jean-Baptiste Kempf

chroma/chain: also merge sar num/den

This fixes the vdpau chroma converter failing on chroma+resize chain.

(cherry picked from commit 07304bd85cc5c74504080954dab40884f35ae822)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d24da94993fd5470ad98e4ec3a024cf28acce119
---

 modules/video_chroma/chain.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_chroma/chain.c b/modules/video_chroma/chain.c
index f13d3d635c..b78883e49b 100644
--- a/modules/video_chroma/chain.c
+++ b/modules/video_chroma/chain.c
@@ -488,5 +488,7 @@ static void EsFormatMergeSize( es_format_t *p_dst,
     p_dst->video.i_y_offset = p_size->video.i_y_offset;
 
     p_dst->video.orientation = p_size->video.orientation;
+    p_dst->video.i_sar_num = p_size->video.i_sar_num;
+    p_dst->video.i_sar_den = p_size->video.i_sar_den;
 }
 



More information about the vlc-commits mailing list