[FFmpeg-trac] #643(avcodec:new): VAAPI dynamic loading

FFmpeg trac at avcodec.org
Fri Nov 11 19:38:25 CET 2011

#643: VAAPI dynamic loading
             Reporter:  gajul        |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:  VAAPI        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by gajul):

 Replying to [comment:1 cehoyos]:
 > Please correct me if I am wrong:
 > If your patch gets applied, existing users of FFmpeg's VAAPI
 implementation (vlc) have to change their code to fill the new structures?

 That is correct. Instead of having ffmpeg lookup for the library and load
 it dynamically, I gave that responsibility to the caller. The reason I did
 this is that multiple versions if libva could be installed, in /usr/lib/
 and /usr/local/lib for example, and I want to avoid conflicts. Since the
 caller already has to dynamically load VAAPI, it might has well provide
 the function pointers to ffmpeg too. I understand that this idea might not
 be popular because of what you mentioned and rejecting it might be best.
 My goal was more to share what I did in case somebody find it useful.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/643#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list