From a9d83eac40c94f44d19fab7b6955331f10efe301 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Sep 2019 16:48:34 +0200 Subject: Remove optical disc fancification layers This removes anything related to DVD/BD/CD that negatively affected the core code. It includes trying to rewrite timestamps (since DVDs and Blurays do not set packet stream timestamps to playback time, and can even have resets mid-stream), export of chapters, stream languages, export of title/track lists, and all that. Only basic seeking is supported. It is very much possible that seeking completely fails on some discs (on some parts of the timeline), because timestamp rewriting was removed. Note that I don't give a shit about optical media. If you want to watch them, rip them. Keeping some bare support for DVD/BD is the most I'm going to do to appease the type of lazy, obnoxious users who will care. There are other players which are better at optical discs. --- DOCS/man/input.rst | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 2b483a4f05..43fb868db1 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1182,8 +1182,6 @@ Property list ``media-title`` If the currently played file has a ``title`` tag, use that. - Otherwise, if the media type is DVD, return the volume ID of DVD. - Otherwise, return the ``filename`` property. ``file-format`` @@ -1296,40 +1294,6 @@ Property list Current MKV edition number. Setting this property to a different value will restart playback. The number of the first edition is 0. -``disc-titles`` - Number of BD/DVD titles. - - This has a number of sub-properties. Replace ``N`` with the 0-based edition - index. - - ``disc-titles/count`` - Number of titles. - - ``disc-titles/id`` - Title ID as integer. Currently, this is the same as the title index. - - ``disc-titles/length`` - Length in seconds. Can be unavailable in a number of cases (currently - it works for libdvdnav only). - - When querying the property with the client API using ``MPV_FORMAT_NODE``, - or with Lua ``mp.get_property_native``, this will return a mpv_node with - the following contents: - - :: - - MPV_FORMAT_NODE_ARRAY - MPV_FORMAT_NODE_MAP (for each edition) - "id" MPV_FORMAT_INT64 - "length" MPV_FORMAT_DOUBLE - -``disc-title-list`` - List of BD/DVD titles. - -``disc-title`` (RW) - Current BD/DVD title number. Writing works only for ``dvdnav://`` and - ``bd://`` (and aliases for these). - ``chapters`` Number of chapters. @@ -1369,9 +1333,6 @@ Property list "title" MPV_FORMAT_STRING "default" MPV_FORMAT_FLAG -``angle`` (RW) - Current DVD angle. - ``metadata`` Metadata key/value pairs. -- cgit v1.2.3