vlc | branch: master | Steve Lhomme <[email protected]> | Tue Sep 6 09:20:16 2016 +0200| [795eef0f0853f924e05779260d7070819989e8f6] | committer: Jean-Baptiste Kempf
d3d11va: no need for a filter when we have a VideoProcessor Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=795eef0f0853f924e05779260d7070819989e8f6 --- modules/codec/avcodec/d3d11va.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c index 038b117..1b4bac0 100644 --- a/modules/codec/avcodec/d3d11va.c +++ b/modules/codec/avcodec/d3d11va.c @@ -471,7 +471,7 @@ static int Open(vlc_va_t *va, AVCodecContext *ctx, enum PixelFormat pix_fmt, if (err!=VLC_SUCCESS) goto error; - if (p_sys == NULL) + if (p_sys == NULL && sys->videoProcessor == NULL) { sys->filter = CreateFilter( VLC_OBJECT(va), fmt, sys->i_chroma); if (sys->filter == NULL) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
