[vlc-commits] QSV: fix compilation

Jean-Baptiste Kempf git at videolan.org
Sat Jun 18 22:34:19 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 18 22:33:56 2016 +0200| [c96d9fc33cb6bf67270426ab454d9699d5c72dd5] | committer: Jean-Baptiste Kempf

QSV: fix compilation

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

 modules/codec/qsv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index 2a4098c..e0c9121 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -410,7 +410,7 @@ static int Open(vlc_object_t *this)
     uint8_t nals[128];
 
     if (enc->fmt_out.i_codec != VLC_CODEC_H264 &&
-        enc->fmt_out.i_codec != VLC_CODEC_MPGV && !enc->b_force)
+        enc->fmt_out.i_codec != VLC_CODEC_MPGV && !enc->obj.force)
         return VLC_EGENERIC;
 
     if (!enc->fmt_in.video.i_visible_height || !enc->fmt_in.video.i_visible_width ||



More information about the vlc-commits mailing list