New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AV_NOPTS_VALUE removed #55
Comments
Context? |
in public unsafe struct AVPacket: /// public long @pts;
|
It is in place actually as malformed macro: |
yes i saw that, uncommenting it doesn't work as int64_t can't be resolved - any idea how to set it? |
It used to be public const ulong AV_NOPTS_VALUE = 0x8000000000000000; which seems to be working - this missing value threw about 60 exceptions in my project - might be worth adding it back in.. |
You know that all this code is auto generated aren't you? Thus in case you would like to have this value here there are two options:
|
Hello yes i know its autogen.. if the autogen isnt working though it's
probably easier to manually fix something like this that is rather critical
to the library. The FFMPEG guys keep making massive changes to the api.
Quite frustrating!
…On 4 Aug. 2017 16:08, "Ruslan Balanukhin" ***@***.***> wrote:
You know that all this code is auto generated aren't you? Thus in case you
would like to have this value here there are two options:
- contribute try to fix in original C header (by some reason they put
in place this double cast).
- contribute good generic fix to macro parser to my progect as
adding/fixing stuff by hands is not an option.
Beside, you still going to have small amount of macroses based on
inline functions they never worked and next time ffmpeg developers desided
to use one this constant will be gone.
To summarize I will do it with pleasure when CppSharp project will add
macro preprocessor api.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAw1XandDsmT3VbV-30or81sON_LLa75ks5sUtFvgaJpZM4OtSIB>
.
|
Any way I'll try to improve macro parser but I cannot promise any backward compatibility connected with ffmpeg api changes either this specific constraint being resolved. |
I implemented generic fix for macro functions in #63 thus AV_NOPTS_VALUE is now available. |
Any reason?
The text was updated successfully, but these errors were encountered: