[FFmpeg-devel] [PATCH] DXVA2: Fix crash releasing IDirect3D9Surface's with av_buffer_default_free instead of Release

2016-09-29 Thread Min
diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c index e79254b..17d8eb5 100644 --- a/libavutil/hwcontext_dxva2.c +++ b/libavutil/hwcontext_dxva2.c @@ -101,6 +101,11 @@ static void dxva2_frames_uninit(AVHWFramesContext *ctx) } } +void dxva2_pool_free(void *opaque, uint8_

Re: [FFmpeg-devel] [PATCH] DXVA2: Fix crash releasing IDirect3D9Surface's with av_buffer_default_free instead of Release

2016-10-03 Thread Min
d engine, but I supose that if you decompress using dxva2 it will crash when finishing ffmpeg app, if all the reference counting is ok and all the context and frames are freed. Sorry if I'm wrong, but what I've seen with the visual studio debugger and what I can see in the code makes sense

[FFmpeg-devel] [PATCH] Allow enabling SVC in libaomenc

2024-06-05 Thread Chun-Min Chang
will only take effect when the bitrate is set to constant. [1] https://aomedia.googlesource.com/aom/+/a7ef80c44bfb34b08254194b1ab72d4e93ff4b07/av1/encoder/svc_layercontext.h#115 Signed-off-by: Chun-Min Chang --- libavcodec/libaomenc.c | 75 ++ 1 file ch

[FFmpeg-devel] [PATCH] Allow enabling SVC in libaomenc

2024-06-11 Thread Chun-Min Chang
will only take effect when the bitrate is set to constant. [1] https://aomedia.googlesource.com/aom/+/a7ef80c44bfb34b08254194b1ab72d4e93ff4b07/av1/encoder/svc_layercontext.h#115 Signed-off-by: Chun-Min Chang --- libavcodec/libaomenc.c | 75 ++ 1 file ch

Re: [FFmpeg-devel] [PATCH] Allow enabling SVC in libaomenc

2024-06-11 Thread Chun-Min Chang
It looks like the command ``` git format-patch -s -o "outputfolder" --add-header "X-Unsent: 1" --suffix .eml --to ffmpeg-devel@ffmpeg.org -1 1a2b3c4d ``` doesn't work for me. I'll see if I can find another way to submit the patch. On Tue, Jun 11, 2024 at 1:22 PM

[FFmpeg-devel] [PATCH] Allow enabling SVC in libaomenc

2024-06-24 Thread Chun-Min Chang
This patch updates libaomenc.c to accept parameters for SVC (Scalable Video Coding) settings via the FFmpeg API `av_opt_set`. The SVC configuration is applied based on the provided parameters. As libaom's SVC functionality only operates with constant bitrate encoding [1], these parameters will only