diff options
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r-- | video/decode/lavc.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index cf5485d3b6..70ff4cde97 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -31,7 +31,6 @@ typedef struct lavc_ctx { AVFrame *pic; struct vd_lavc_hwdec *hwdec; AVRational codec_timebase; - enum AVPixelFormat pix_fmt; enum AVDiscard skip_frame; bool flushing; const char *decoder; @@ -62,11 +61,6 @@ typedef struct lavc_ctx { struct mp_hwdec_ctx *hwdec_dev; bool owns_hwdec_dev; - int hwdec_fmt; - int hwdec_w; - int hwdec_h; - int hwdec_profile; - bool hwdec_request_reinit; int hwdec_fail_count; @@ -102,7 +96,7 @@ struct vd_lavc_hwdec { int (*probe)(struct lavc_ctx *ctx, struct vd_lavc_hwdec *hwdec, const char *codec); int (*init)(struct lavc_ctx *ctx); - int (*init_decoder)(struct lavc_ctx *ctx, int w, int h); + int (*init_decoder)(struct lavc_ctx *ctx); void (*uninit)(struct lavc_ctx *ctx); // Process the image returned by the libavcodec decoder. struct mp_image *(*process_image)(struct lavc_ctx *ctx, struct mp_image *img); |