Opened 12 years ago

Closed 10 years ago

#1769 closed enhancement (fixed)

Make ffmpeg build string available in avutil.h

Reported by: DonMoir Owned by: Timothy Gu
Priority: wish Component: avutil
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Would be good if this was generally available rather than specifically as it is now in version.h. Also I think a version.h that has the proper build string in it may not be readily available in a general download of the source code.

Could be a #define in avutil.h or function call.

It's better than any lib_version function for tracking user installations etc.

Attachments (1)

0001-configure-output-build-config-and-license-to-libavut.patch (1.2 KB ) - added by Timothy Gu 10 years ago.
First version of patch

Download all attachments as: .zip

Change History (9)

comment:1 by Timothy Gu, 10 years ago

Component: undeterminedavutil
Owner: set to Timothy Gu
Priority: normalwish
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

by Timothy Gu, 10 years ago

First version of patch

comment:2 by Timothy Gu, 10 years ago

Can you test the patch?

It prints the info to libavutil/avconfig.h and it should be installed.

Last edited 10 years ago by Timothy Gu (previous) (diff)

comment:3 by Timothy Gu, 10 years ago

Ah sorry I didn't get your meaning by "build string".

comment:4 by DonMoir, 10 years ago

Yeah, trying to say something different there besides version something :) should have included FFMPEG_VERSION though in description.

comment:5 by DonMoir, 10 years ago

I applied some of the patches that relate to this ticket and looks good. When it's all said and done I will retest and then we can close this. Thanks Timothy.

in reply to:  5 comment:6 by Timothy Gu, 10 years ago

Replying to DonMoir:

I applied some of the patches that relate to this ticket and looks good. When it's all said and done I will retest and then we can close this. Thanks Timothy.

How is it? Please disregard the patch attached in this ticket.

comment:7 by DonMoir, 10 years ago

The ffversion.h file works for my needs which is ffmpeg build version tracking. The FFMPEG_VERSION #define was like an orphan before but now in libautil/ffversion.h.

The FFMPEG_VERSION string identifies a unique ffmpeg build for those interested.

Thanks.

comment:8 by Timothy Gu, 10 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.