[x264-devel] What can I do if I want to checkout a specified build version

Emily Bowman silverbacknet at gmail.com
Mon Jan 25 13:25:07 UTC 2021


API versioning is hard and this method is common in open source media
products. A simple check against the library version tells you if you know
how to handle it, so it's an early way to know you can't link this one.

x264 and its API are not the same, though, so I wouldn't call API versions
x264 versions. The library version encompases features and adjustments and
general stability, and usually leaps a couple of API versions. The API
version says nothing other than the library won't crash if you know this
version, but might if you don't.

Stable branch gets master branch commits after enough testing. Right now
there are no differences; most patches lately have been quite minor. It's
been a long time since a really experimental update.

-Em

On Mon, Jan 25, 2021 at 3:07 AM Lingjiang Fang <vacingfang at foxmail.com>
wrote:

> On Mon, 25 Jan 2021 00:56:26 -0800
> Emily Bowman <silverbacknet at gmail.com> wrote:
>
> > Build versions aren't tags, although I kind of wish they were. You can
> > search x264.h's history for the commits that change X264_BUILD, and
> > use anything in between the changes, but I'm sure what you really
> > want is the last good rev before a breaking change.
> >
> > You can use the website's search, but are you wanting command line?
> > You can also use:
> > git log -S'X264_BUILD 160' -- x264.h
> > and then find the previous non-breaking commits with
> > git log <top returned hash>
> > And there are ways to restrict and prettify it if you're looking for
> > a less manual method.
>
> The command line works for me, thanks.
> I guess what you mean is x264 uses this macro to identify different
> versions only.
>
> And another question is , what's the difference between
> branch master and branch stable, I found they both modified frequently.
> Or are there any docs to explain the whole aspect of x264‘s
> version/branch management.
>
> >
> > If you're using gitlab's search, you search for essentially the same
> > string and again just look at what the parent revision was.
> >
> > -Em
> >
> > On Mon, Jan 25, 2021 at 12:17 AM Lingjiang Fang
> > <vacingfang at foxmail.com> wrote:
> >
> > >
> > >
> > > What can I do if I want to checkout a specified build version, such
> > > as 160?
> > >
> > > I met some problems when I want to get a specified version of x264,
> > > thanks if any one can give me a hand.
> > >
> > > x264 gitlab repo has only two branches, and no tags. I tried to find
> > > some documentation to clarify the relationship between these two
> > > branches: master and stable, but got nothing.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > x264-devel mailing list
> > > x264-devel at videolan.org
> > > https://mailman.videolan.org/listinfo/x264-devel
> > >
>
>
>
> Regards,
> Lingjiang Fang
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20210125/c1af547a/attachment.html>


More information about the x264-devel mailing list