Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 291161 Details for
Bug 387935
media-video/mplayer2 does not build support for Blu-ray with USE=bluray
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch to enable bluray support for mplayer2
2.0-bluray.patch (text/plain), 2.25 KB, created by
Chris Slycord
on 2011-10-29 19:26:12 UTC
(
hide
)
Description:
patch to enable bluray support for mplayer2
Filename:
MIME Type:
Creator:
Chris Slycord
Created:
2011-10-29 19:26:12 UTC
Size:
2.25 KB
patch
obsolete
>--- mplayer2-2.0/configure.orig 2011-10-29 14:07:03.248883932 -0500 >+++ mplayer2-2.0/configure 2011-10-29 14:08:46.931909609 -0500 >@@ -5248,7 +5248,7 @@ > echocheck "Blu-ray support" > if test "$_bluray" = auto ; then > _bluray=no >- statement_check libbluray/bluray.h 'bd_get_title_info(0, 0)' -lbluray && _bluray=yes >+ statement_check libbluray/bluray.h 'bd_get_title_info(0, 0, 0)' -lbluray && _bluray=yes > fi > if test "$_bluray" = yes ; then > def_bluray='#define CONFIG_LIBBLURAY 1' >--- mplayer2-2.0/stream/stream_bluray.c.orig 2011-10-29 14:09:51.612790586 -0500 >+++ mplayer2-2.0/stream/stream_bluray.c 2011-10-29 14:13:23.788941839 -0500 >@@ -116,7 +116,7 @@ > case STREAM_CTRL_GET_NUM_CHAPTERS: { > BLURAY_TITLE_INFO *ti; > >- ti = bd_get_title_info(b->bd, b->current_title); >+ ti = bd_get_title_info(b->bd, b->current_title, b->current_angle); > if (!ti) > return STREAM_UNSUPPORTED; > >@@ -137,7 +137,7 @@ > int64_t pos; > int r; > >- ti = bd_get_title_info(b->bd, b->current_title); >+ ti = bd_get_title_info(b->bd, b->current_title, b->current_angle); > if (!ti) > return STREAM_UNSUPPORTED; > >@@ -156,7 +156,7 @@ > case STREAM_CTRL_GET_NUM_ANGLES: { > BLURAY_TITLE_INFO *ti; > >- ti = bd_get_title_info(b->bd, b->current_title); >+ ti = bd_get_title_info(b->bd, b->current_title, b->current_angle); > if (!ti) > return STREAM_UNSUPPORTED; > >@@ -175,7 +175,7 @@ > BLURAY_TITLE_INFO *ti; > int angle = *((int *) arg); > >- ti = bd_get_title_info(b->bd, b->current_title); >+ ti = bd_get_title_info(b->bd, b->current_title, b->current_angle); > if (!ti) > return STREAM_UNSUPPORTED; > >@@ -238,7 +238,7 @@ > } > > /* check for available titles on disc */ >- title_count = bd_get_titles(bd, TITLES_RELEVANT); >+ title_count = bd_get_titles(bd, TITLES_RELEVANT, angle); > mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_BLURAY_TITLES=%d\n", title_count); > if (!title_count) { > mp_msg(MSGT_OPEN, MSGL_ERR, >@@ -253,7 +253,7 @@ > BLURAY_TITLE_INFO *ti; > int sec, msec; > >- ti = bd_get_title_info(bd, i); >+ ti = bd_get_title_info(bd, i, angle); > if (!ti) > continue; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 387935
:
290425
|
290427
|
291159
|
291161
|
291163