[vlc-devel] commit: Fixed a typo in weight computation (dxva2). (Laurent Aimar )
git version control
git at videolan.org
Tue Dec 8 22:01:06 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Dec 8 21:58:41 2009 +0100| [6adf794db95bce9fe62fc505b628e0ccdcd4fd3c] | committer: Laurent Aimar
Fixed a typo in weight computation (dxva2).
Noticed by GBeauchesne.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6adf794db95bce9fe62fc505b628e0ccdcd4fd3c
---
extras/contrib/src/Patches/ffmpeg-dxva2.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/Patches/ffmpeg-dxva2.patch b/extras/contrib/src/Patches/ffmpeg-dxva2.patch
index 2e27d1e..80b9290 100644
--- a/extras/contrib/src/Patches/ffmpeg-dxva2.patch
+++ b/extras/contrib/src/Patches/ffmpeg-dxva2.patch
@@ -378,7 +378,7 @@ Index: libavcodec/dxva2_h264.c
+ slice->Weights[list][i][0][0] = h->luma_weight[list][i];
+ slice->Weights[list][i][0][1] = h->luma_offset[list][i];
+ } else {
-+ slice->Weights[list][i][0][0] = 1 << h->luma_weight_flag[list];
++ slice->Weights[list][i][0][0] = 1 << h->luma_log2_weight_denom;
+ slice->Weights[list][i][0][1] = 0;
+ }
+ for (plane = 1; plane < 3; plane++) {
More information about the vlc-devel
mailing list