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

Thomas Guillem git at videolan.org
Fri Jan 19 09:03:41 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan 19 09:03:32 2018 +0100| [07304bd85cc5c74504080954dab40884f35ae822] | committer: Thomas Guillem

chroma/chain: also merge sar num/den

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

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

 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