You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fallback for hardware accelerated decode to software decode in case
the GPU can noy handle the dimensions of the frame. Not yet working, va_config not yet set.
This commit is contained in:
@@ -71,12 +71,6 @@ static int set_hwframe_ctx(AVCodecContext *ctx, AVBufferRef *hw_device_ctx, int6
|
||||
}
|
||||
#endif
|
||||
|
||||
#if IS_FFMPEG_3_2
|
||||
//#if defined(__linux__)
|
||||
#pragma message "You are compiling with experimental hardware encode"
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
FFmpegWriter::FFmpegWriter(string path) :
|
||||
path(path), fmt(NULL), oc(NULL), audio_st(NULL), video_st(NULL), audio_pts(0), video_pts(0), samples(NULL),
|
||||
audio_outbuf(NULL), audio_outbuf_size(0), audio_input_frame_size(0), audio_input_position(0),
|
||||
|
||||
Reference in New Issue
Block a user