> -----Ursprüngliche Nachricht----- > Von: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] Im Auftrag > von Michael Niedermayer > Gesendet: Mittwoch, 30. September 2015 22:47 > An: FFmpeg development discussions and patches > Betreff: Re: [FFmpeg-devel] [PATCH] qsvenc.c: use query function to > catch all kind of setting issues > > On Wed, Sep 30, 2015 at 04:19:15PM +0200, Sven Dueking wrote: > > From 86ddf1095bfd557324f6eeb24d94cbd0a6818c10 Mon Sep 17 00:00:00 > 2001 > > From: Sven Dueking <s...@nablet.com> > > Date: Wed, 30 Sep 2015 16:06:02 +0200 > > Subject: [FFmpeg-devel] [PATCH] qsvenc.c: use query function to catch > > all kind of setting issues > > > > --- > > libavcodec/qsvenc.c | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index > > 1013fe1..55140e1 100644 > > --- a/libavcodec/qsvenc.c > > +++ b/libavcodec/qsvenc.c > > @@ -264,6 +264,14 @@ int ff_qsv_enc_init(AVCodecContext *avctx, > > QSVEncContext *q) > > if (ret < 0) > > return ret; > > > > + ret = MFXVideoENCODE_Query(q->session, &q->param,&q->param); > > + if (MFX_WRN_PARTIAL_ACCELERATION==ret) { > > + av_log(avctx, AV_LOG_WARNING, "Encoder will work with > partial > > + HW > > acceleration\n"); > > + } else if (ret < 0) { > > Applying: qsvenc.c: use query function to catch all kind of setting > issues > fatal: corrupt patch at line 10
Sorry, no idea what went wrong ... anyway - patch attached. > > [...] > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB > > When the tyrant has disposed of foreign enemies by conquest or treaty, > and there is nothing more to fear from them, then he is always stirring > up some war or other, in order that the people may require a leader. -- > Plato
0001-use-query-to-catch-all-kind-of-setting-issues.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel