Bug#885773: mpv: using dvd://<title> or dvdnav://<title> still plays longest title

Kurt bug at vgagames.de
Fri Dec 29 19:47:25 UTC 2017


Package: mpv
Version: 0.23.0-2+b2
Severity: normal

Dear Maintainer,

when using mpv playing a selected title of a DVD, mpv does not play the
selected title but the longest title, for example:
"mpv dvd://4" acts equal to using "mpv dvd://"

With "dvdread://<title>" there is no problem.

I would suggest fixing this problem as follows:
- in file mpv_0.23.0/stream/stream_dvdnav.c in line 534
  replace line
     priv->title = bstrtoll(title, &rest, 10);
  with line
     priv->track = priv->title = bstrtoll(title, &rest, 10);

because in open_s() priv->track is set to default value TITLE_LONGEST,
but is not set when using a selected title, but is later used in open_s_internal().

Best regards,

Kurt


-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mpv depends on:
ii  libasound2                              1.1.3-5
ii  libass5                                 1:0.13.4-2
ii  libavcodec57                            7:3.2.9-1~deb9u1
ii  libavdevice57                           7:3.2.9-1~deb9u1
ii  libavfilter6                            7:3.2.9-1~deb9u1
ii  libavformat57                           7:3.2.9-1~deb9u1
ii  libavutil55                             7:3.2.9-1~deb9u1
ii  libbluray1                              1:0.9.3-3
ii  libc6                                   2.24-11+deb9u1
ii  libcdio-cdda1                           0.83-4.3+b1
ii  libcdio-paranoia1                       0.83-4.3+b1
ii  libcdio13                               0.83-4.3+b1
ii  libdrm2                                 2.4.74-1
ii  libdvdnav4                              5.0.3-3
ii  libdvdread4                             5.0.3-2
ii  libegl1-mesa [libegl1-x11]              13.0.6-1+b2
ii  libgbm1                                 13.0.6-1+b2
ii  libgl1-mesa-glx [libgl1]                13.0.6-1+b2
ii  libjack-jackd2-0 [libjack-0.125]        1.9.10+20150825git1ed50c92~dfsg-5
ii  libjpeg62-turbo                         1:1.5.1-2
ii  liblcms2-2                              2.8-4
ii  liblua5.2-0                             5.2.4-1.1+b2
ii  libpulse0                               10.0-1+deb9u1
ii  librubberband2                          1.8.1-7
ii  libsdl2-2.0-0                           2.0.5+dfsg1-2
ii  libsmbclient                            2:4.5.12+dfsg-2+deb9u1
ii  libsndio6.1                             1.1.0-3
ii  libswresample2                          7:3.2.9-1~deb9u1
ii  libswscale4                             7:3.2.9-1~deb9u1
ii  libv4l-0                                1.12.3-1
ii  libva-drm1                              1.7.3-2
ii  libva-wayland1                          1.7.3-2
ii  libva-x11-1                             1.7.3-2
ii  libva1                                  1.7.3-2
ii  libvdpau1                               1.1.1-6
ii  libwayland-client0                      1.12.0-1
ii  libwayland-cursor0                      1.12.0-1
ii  libwayland-egl1-mesa [libwayland-egl1]  13.0.6-1+b2
ii  libx11-6                                2:1.6.4-3
ii  libxext6                                2:1.3.3-1+b2
ii  libxinerama1                            2:1.1.3-1+b3
ii  libxkbcommon0                           0.7.1-2~deb9u1
ii  libxrandr2                              2:1.5.1-1
ii  libxss1                                 1:1.2.2-1
ii  libxv1                                  2:1.0.11-1
ii  zlib1g                                  1:1.2.8.dfsg-5

Versions of packages mpv recommends:
ii  xdg-utils   1.1.1-1
ii  youtube-dl  2017.05.18.1-1

mpv suggests no packages.

-- Configuration Files:
/etc/mpv/encoding-profiles.conf changed [not included]

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list