Compilation fails : BLURAY_CLIP_INFO has no member clip_id

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
HJarausch
Posts: 2
Joined: Mon Jan 09, 2017 3:12 pm

Compilation fails : BLURAY_CLIP_INFO has no member clip_id

Post by HJarausch »

I cannot compile neither version 1.0.1 nor the GIT version on my GenToo system.
I have libbluray version 0.9.3 which seems to be the most recent version.

struct bd_clip has no member clip_id. Therefore file libhb/bd.c line 251

hb_log("bd:\t\t%s.M2TS -- Duration: %02d:%02d:%02d",
ti->clips[ii].clip_id, hh, mm, ss);

fails to compile.

Is there a patch for this?

Many thanks,
Helmut
User avatar
Ritsuka
HandBrake Team
Posts: 1655
Joined: Fri Jan 12, 2007 11:29 am

Re: Compilation fails : BLURAY_CLIP_INFO has no member clip_id

Post by Ritsuka »

HandBrake should build its own libbluray instead of using the system one, did you change it?
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: Compilation fails : BLURAY_CLIP_INFO has no member clip_id

Post by s55 »

Yeh, you can't link against the system lib with it. We patch libbluray.
HJarausch
Posts: 2
Joined: Mon Jan 09, 2017 3:12 pm

Re: Compilation fails : BLURAY_CLIP_INFO has no member clip_id

Post by HJarausch »

Thanks, Gentoo had patched HandBrake to use the system lib.
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: Compilation fails : BLURAY_CLIP_INFO has no member clip_id

Post by s55 »

Yes, which is why we recommend you compile from *our* source, not their ebuilds which modify things they don't know about or don't understand and thus, break things.
beandog
Posts: 7
Joined: Tue Oct 12, 2010 5:08 pm

Re: Compilation fails : BLURAY_CLIP_INFO has no member clip_id

Post by beandog »

s55 wrote:Yes, which is why we recommend you compile from *our* source, not their ebuilds which modify things they don't know about or don't understand and thus, break things.
In cases like that, I'd recommend just dumping them in our Multimedia forum.
Post Reply