Summary: | media-plugins/vdr-xineliboutput-1.0.5-r1 - xine_post_audiochannel.c:97:7: error: ‘post_audio_port_t’ has no member named ‘format’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Szymaniak <bugzie> |
Component: | Current packages | Assignee: | Christian Ruppert (idl0r) <idl0r> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | media-tv, romero, verbeamt, womble |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build.log
patch as in Comment_4, for version 10201 ebuild patch (1 line for the path above) |
Description
Piotr Szymaniak
2012-02-13 22:05:34 UTC
Created attachment 301839 [details]
Build.log
Build.log
Same here. Seems like the API has changed from media-libs/xine-lib-1.1.20 to media-libs/xine-lib-1.2.1 Downgrading xine-lib fixed it for me... Seems like we have to wait for a new xineliboutput I can confirm: masking media-libs/xine-lib-1.2.1 helped me as well. Do you now that this is just the trick: --- xine_post_audiochannel.c.original 2012-01-03 13:58:04.440916261 +0200 +++ xine_post_audiochannel.c 2012-01-03 14:01:26.479877000 +0200 @@ -70,7 +70,7 @@ /* * Port functions */ -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10200 static int audioch_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode) #else @@ -85,7 +85,7 @@ _x_post_inc_usage(port); port->stream = stream; -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10200 port->bits = bits; port->rate = rate; port->mode = mode; @@ -112,7 +112,7 @@ int i; if(this->channels == 2) { -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10200 int step = buf->format.bits / 8; #else int step = sample_bytes_table[buf->format.sample_format]; @@ -122,7 +122,7 @@ newbuf->vpts = buf->vpts; newbuf->frame_header_count = buf->frame_header_count; newbuf->first_access_unit = buf->first_access_unit; -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10200 newbuf->format.bits = buf->format.bits; newbuf->format.rate = buf->format.rate; newbuf->format.mode = buf->format.mode; Same problem here. Unfortunately there's no media-libs/xine-lib-1.1.20 any more in portage :-( Please somebody fix this. (In reply to comment #4) Same problem here. However, I simply change the version as given in Comment_4 to 10201, and it worked for me. Unfortunately, I have absolutely no idea which is the correct maximal version number to use, maybe 10202 (for xine-lib-1.2.2 etc.) is also correct. Attached both new patch for ebuild and patched ebuild itself. Created attachment 318674 [details, diff]
patch as in Comment_4, for version 10201
Created attachment 318676 [details, diff]
ebuild patch (1 line for the path above)
Is there something I can help so this will be fixed inside portage? Please test media-plugins/vdr-xineliboutput-1.1.0. |