<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 05/09/2017 10:29 AM, Holy Wu wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJXxPL1HuKAhzRtFuOssU994nNYRu_Pe=s2wqLUB6k1uv0gvNA@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-05-09 19:46 GMT+08:00 Petri
Hintukainen <span dir="ltr"><<a
href="mailto:phintuka@users.sourceforge.net"
target="_blank" moz-do-not-send="true">phintuka@users.sourceforge.net</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
la, 2017-05-06 kello 23:08 +0800, Holy Wu kirjoitti:<br>
> In bluray.h, the mpls_pl struct only has declaration
but no<br>
> definition. Therefore the user can't do anything
useful on the<br>
> returned pointer of
<div style="font-family:microsoft
jhenghei,sans-serif;display:inline"
class="gmail_default"></div>
bd_read_mpls(), because it's an incomplete type.<br>
<br>
Do you have a real use case for the data ?<br>
</blockquote>
<div> </div>
<div>
<div style="font-family:microsoft
jhenghei,sans-serif;display:inline"
class="gmail_default">The users of AviSynth or
VapourSynth want to directly open a mpls file by a
source filter, like ffms2, rather than manually open
each of the m2ts files in the script. I need to know
what and how many m2ts files the playlist contains, so I
can let the source filter open the corresponding files
automatically. And I find bd_read_mpls is quite suitable
here.<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Hi,<br>
<br>
The specific information you are asking for is already exported in
the public APIs. bd_get_title_info will return BLURAY_TITLE_INFO
that contains an array of BLURAY_CLIP_INFO. The clip_id in
BLURAY_CLIP_INFO identifies an m2ts file.<br>
<br>
If you are trying to read mpls files without using the higher level
disc parsing provided by libbluray, that's a matter of project
scope. libbluray isn't really intended for that type of usage
scenario. But I'll leave it to Petri to decide if he wants to
expand the scope of libbluray to cover such scenarios.<br>
<pre class="moz-signature" cols="120">--
John GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01 83F0 49F1 D7B2 60D4 D0F7
</pre>
</body>
</html>