Send seek command after loop one
Do disconnect when stopping video
macosx: allow to hide the drop zone while the playlist is empty using an option-click on the playlist toggle button (refs #6213)
(cherry picked from commit 51cbd1c24870eec1b386ee978d4ebcaae4a0ac9e)
Fix circular join in Destroy
Fix disconnect and stop conditions
macosx: disable native fullscreen checkbox in prefs if a change would have no effect
(cherry picked from commit 50134d9405852b74a9844e44f154049a91eaef9e)

Signed-off-by: David Fuhrmann <david.fuhrmann@googlemail.com>
macosx_vout: implemented crop support (close #6080)

note that this patch includes a hack to revert to the 'Default' state correctly
(cherry picked from commit 1d4f6a974f9b04873ba9ef5f016053364ef62836)
macosx: fixed 'Open File...' in the subtitles sub menu (close #6352)
(cherry picked from commit 542b07d310adad4692455396ffa5d52f3fe666b7)
Contrib: Lame, forget the sha512 update file
(cherry picked from commit 411132d9a6511283f4535066dc765658e3a4c01c)

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Linux DVB: fix format string

(cherry picked from commit 42b8a557d6f0045c2a3a06a9ff457ce2a9cf7144)

Conflicts:

	modules/access/dtv/linux.c
Linux DVB: small typo

(cherry picked from commit 9df024608bdb087f26bff309ddcc9d686e0353d5)
macosx vout: also do crop if macosx-video-autoresize is false
(cherry picked from commit bb20070a980134c728d5d57c9203784006f5a82c)

Signed-off-by: David Fuhrmann <david.fuhrmann@googlemail.com>
decoder: pause aout at creation in corner case (fix #6369)

If pausing the decoder races with setting up the audio output pipeline,
the decoder can end up already paused when the audio output is created.

The audio output insists on a strict start -> (pause -> resume ->)*
(pause ->)? stop series of state transition. So it must be paused
explicitly in this corner case.

I have not investigated whether this problem affects the video output
but this seems very likely too.
(cherry picked from commit 092e8242e786dfef3568dabd654e3d886c7534f3)
Contribs: update libdvdcss to 1.2.12
(cherry picked from commit f55a160da54be5e09576947388f5eb60d0d224ff)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
hls: m3u8 parser should pass 0xD at line end

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
(cherry picked from commit 8a57032172f9e6c737036cac6fe8f2e530ac21f1)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
hls: Avoid using errno.
(cherry picked from commit 7eb141b4800273870a95210a98c6464416a3b041)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
hls: Fix floating-point value duration parsing.
(cherry picked from commit 08a2a6031b83a4a227c785ef46121b2fbd289b06)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
bluray: Check for bd_play failures.
(cherry picked from commit 207e13c211c1af905bf567934457fd5c91031856)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
bluray: Check for read error when menu are enabled.

This fixes crash with BD-J menu, if libbluray isn't built with java
support.
(cherry picked from commit 3bc5c401996090ef409d0c76fd59c1d009b80c00)
(cherry picked from commit 96b0289176abe5a24eb1f854e74654b3c55d0574)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
bluray: Fetching meta info isn't mandatory.

This should fix bluray playback on windows.
(cherry picked from commit 12bb4f9d52832dafb493d0c0241b154cbdce251e)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>