<div class="gmail_quote">On 01-Jan-2018 4:21 pm, "Debian Bug Tracking System" <<a href="mailto:owner@bugs.debian.org">owner@bugs.debian.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Your message dated Mon, 1 Jan 2018 10:46:50 +0000<br>
with message-id <<a href="mailto:8166490e-013c-b098-59ad-1729fab51643@debian.org">8166490e-013c-b098-59ad-<wbr>1729fab51643@debian.org</a>><br>
and subject line Re: Bug#885773: mpv: using dvd://<title> or dvdnav://<title> still plays longest title<br>
has caused the Debian Bug report #885773,<br>
regarding mpv: using dvd://<title> or dvdnav://<title> still plays longest title<br>
to be marked as done.<br>
<br>
This means that you claim that the problem has been dealt with.<br>
If this is not the case it is now your responsibility to reopen the<br>
Bug report if necessary, and/or fix the problem forthwith.<br>
<br>
(NB: If you are a system administrator and have no idea what this<br>
message is talking about, this may indicate a serious mail system<br>
misconfiguration somewhere. Please contact <a href="mailto:owner@bugs.debian.org">owner@bugs.debian.org</a><br>
immediately.)<br>
<br>
<br>
--<br>
885773: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885773" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-<wbr>bin/bugreport.cgi?bug=885773</a><br>
Debian Bug Tracking System<br>
Contact <a href="mailto:owner@bugs.debian.org">owner@bugs.debian.org</a> with problems<br>
<br><br>---------- Forwarded message ----------<br>From: Kurt <<a href="mailto:bug@vgagames.de">bug@vgagames.de</a>><br>To: Debian Bug Tracking System <<a href="mailto:submit@bugs.debian.org">submit@bugs.debian.org</a>><br>Cc: <br>Bcc: <br>Date: Fri, 29 Dec 2017 20:47:25 +0100<br>Subject: mpv: using dvd://<title> or dvdnav://<title> still plays longest title<br>Package: mpv<br>
Version: 0.23.0-2+b2<br>
Severity: normal<br>
<br>
Dear Maintainer,<br>
<br>
when using mpv playing a selected title of a DVD, mpv does not play the<br>
selected title but the longest title, for example:<br>
"mpv dvd://4" acts equal to using "mpv dvd://"<br>
<br>
With "dvdread://<title>" there is no problem.<br>
<br>
I would suggest fixing this problem as follows:<br>
- in file mpv_0.23.0/stream/stream_<wbr>dvdnav.c in line 534<br>
replace line<br>
priv->title = bstrtoll(title, &rest, 10);<br>
with line<br>
priv->track = priv->title = bstrtoll(title, &rest, 10);<br>
<br>
because in open_s() priv->track is set to default value TITLE_LONGEST,<br>
but is not set when using a selected title, but is later used in open_s_internal().<br>
<br>
Best regards,<br>
<br>
Kurt<br>
<br>
<br>
-- System Information:<br>
Debian Release: 9.3<br>
APT prefers stable-updates<br>
APT policy: (500, 'stable-updates'), (500, 'stable')<br>
Architecture: amd64 (x86_64)<br>
Foreign Architectures: i386<br>
<br>
Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)<br>
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/bash<br>
Init: systemd (via /run/systemd/system)<br>
<br>
Versions of packages mpv depends on:<br>
ii libasound2 1.1.3-5<br>
ii libass5 1:0.13.4-2<br>
ii libavcodec57 7:3.2.9-1~deb9u1<br>
ii libavdevice57 7:3.2.9-1~deb9u1<br>
ii libavfilter6 7:3.2.9-1~deb9u1<br>
ii libavformat57 7:3.2.9-1~deb9u1<br>
ii libavutil55 7:3.2.9-1~deb9u1<br>
ii libbluray1 1:0.9.3-3<br>
ii libc6 2.24-11+deb9u1<br>
ii libcdio-cdda1 0.83-4.3+b1<br>
ii libcdio-paranoia1 0.83-4.3+b1<br>
ii libcdio13 0.83-4.3+b1<br>
ii libdrm2 2.4.74-1<br>
ii libdvdnav4 5.0.3-3<br>
ii libdvdread4 5.0.3-2<br>
ii libegl1-mesa [libegl1-x11] 13.0.6-1+b2<br>
ii libgbm1 13.0.6-1+b2<br>
ii libgl1-mesa-glx [libgl1] 13.0.6-1+b2<br>
ii libjack-jackd2-0 [libjack-0.125] 1.9.10+20150825git1ed50c92~<wbr>dfsg-5<br>
ii libjpeg62-turbo 1:1.5.1-2<br>
ii liblcms2-2 2.8-4<br>
ii liblua5.2-0 5.2.4-1.1+b2<br>
ii libpulse0 10.0-1+deb9u1<br>
ii librubberband2 1.8.1-7<br>
ii libsdl2-2.0-0 2.0.5+dfsg1-2<br>
ii libsmbclient 2:4.5.12+dfsg-2+deb9u1<br>
ii libsndio6.1 1.1.0-3<br>
ii libswresample2 7:3.2.9-1~deb9u1<br>
ii libswscale4 7:3.2.9-1~deb9u1<br>
ii libv4l-0 1.12.3-1<br>
ii libva-drm1 1.7.3-2<br>
ii libva-wayland1 1.7.3-2<br>
ii libva-x11-1 1.7.3-2<br>
ii libva1 1.7.3-2<br>
ii libvdpau1 1.1.1-6<br>
ii libwayland-client0 1.12.0-1<br>
ii libwayland-cursor0 1.12.0-1<br>
ii libwayland-egl1-mesa [libwayland-egl1] 13.0.6-1+b2<br>
ii libx11-6 2:1.6.4-3<br>
ii libxext6 2:1.3.3-1+b2<br>
ii libxinerama1 2:1.1.3-1+b3<br>
ii libxkbcommon0 0.7.1-2~deb9u1<br>
ii libxrandr2 2:1.5.1-1<br>
ii libxss1 1:1.2.2-1<br>
ii libxv1 2:1.0.11-1<br>
ii zlib1g 1:1.2.8.dfsg-5<br>
<br>
Versions of packages mpv recommends:<br>
ii xdg-utils 1.1.1-1<br>
ii youtube-dl 2017.05.18.1-1<br>
<br>
mpv suggests no packages.<br>
<br>
-- Configuration Files:<br>
/etc/mpv/encoding-profiles.<wbr>conf changed [not included]<br>
<br>
-- no debconf information<br>
<br><br>---------- Forwarded message ----------<br>From: James Cowgill <<a href="mailto:jcowgill@debian.org">jcowgill@debian.org</a>><br>To: <a href="mailto:885773-done@bugs.debian.org">885773-done@bugs.debian.org</a><br>Cc: <br>Bcc: <br>Date: Mon, 1 Jan 2018 10:46:50 +0000<br>Subject: Re: Bug#885773: mpv: using dvd://<title> or dvdnav://<title> still plays longest title<br>Version: 0.25.0-1<br>
<br>
Hi,<br>
<br>
On 29/12/17 19:47, Kurt wrote:<br>
> Package: mpv<br>
> Version: 0.23.0-2+b2<br>
> Severity: normal<br>
><br>
> Dear Maintainer,<br>
><br>
> when using mpv playing a selected title of a DVD, mpv does not play the<br>
> selected title but the longest title, for example:<br>
> "mpv dvd://4" acts equal to using "mpv dvd://"<br>
><br>
> With "dvdread://<title>" there is no problem.<br>
><br>
> I would suggest fixing this problem as follows:<br>
> - in file mpv_0.23.0/stream/stream_<wbr>dvdnav.c in line 534<br>
> replace line<br>
> priv->title = bstrtoll(title, &rest, 10);<br>
> with line<br>
> priv->track = priv->title = bstrtoll(title, &rest, 10);<br>
><br>
> because in open_s() priv->track is set to default value TITLE_LONGEST,<br>
> but is not set when using a selected title, but is later used in open_s_internal().<br>
<br>
This looks like this upstream bug which was fixed in 0.25:<br>
<br>
<a href="https://github.com/mpv-player/mpv/issues/4283" rel="noreferrer" target="_blank">https://github.com/mpv-player/<wbr>mpv/issues/4283</a><br>
<a href="https://github.com/mpv-player/mpv/commit/7fe7583a7f56626a57ea181bd213064374738c27" rel="noreferrer" target="_blank">https://github.com/mpv-player/<wbr>mpv/commit/<wbr>7fe7583a7f56626a57ea181bd21306<wbr>4374738c27</a><br>
<br>
I don't think it's serious enough to warrant a stable update.<br>
<br>
Thanks,<br>
James<br>
<br>
<br></blockquote></div>