meh / rust-ffmpeg-sys

moved to meh/rust-ffmpeg
145 stars 87 forks source link

Cannot perform bitwise operations on bitflag-like enums #57

Open ryandbair opened 6 years ago

ryandbair commented 6 years ago

av_buffersrc_add_frame_flags takes a bitflag as the final argument, but the enum which is generated that represents those flags does not have bitwise operations implemented for it.

I've played with bindgen options for the enum, but haven't been able to get a result better than mapping them as constants.