mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
doc/examples/vaapi_transcode: Fix the typo
Reviewed-by: "mypopy@gmail.com" <mypopy@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
49c67e79ca
commit
c02ff77681
@ -179,7 +179,7 @@ static int dec_enc(AVPacket *pkt, AVCodec *enc_codec)
|
|||||||
}
|
}
|
||||||
/* set AVCodecContext Parameters for encoder, here we keep them stay
|
/* set AVCodecContext Parameters for encoder, here we keep them stay
|
||||||
* the same as decoder.
|
* the same as decoder.
|
||||||
* xxx: now the the sample can't handle resolution change case.
|
* xxx: now the sample can't handle resolution change case.
|
||||||
*/
|
*/
|
||||||
encoder_ctx->time_base = av_inv_q(decoder_ctx->framerate);
|
encoder_ctx->time_base = av_inv_q(decoder_ctx->framerate);
|
||||||
encoder_ctx->pix_fmt = AV_PIX_FMT_VAAPI;
|
encoder_ctx->pix_fmt = AV_PIX_FMT_VAAPI;
|
||||||
|
Loading…
Reference in New Issue
Block a user