1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00
mpv/misc
wm4 06c55ac6c3 charset_conv: fallback to interpreting subs as latin1 if iconv fails
For display purposes, it's better to show scrambled text - at least
that's a more actionable failure mode than spamming the terminal with
FFmpeg nonsense error messages.

This avoids the obnoxious and pointless

  "Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option"

FFmpeg error, which will be spammed on every single subtitle event. We
don't even have a -sub-charenc option, fuck FFmpeg.

Did I mention fuck FFmpeg yet? Because fuck FFmpeg.
2017-01-22 13:10:16 +01:00
..
bstr.c bstr: change to LGPL 2016-12-11 18:09:44 +01:00
bstr.h bstr: change to LGPL 2016-12-11 18:09:44 +01:00
charset_conv.c charset_conv: fallback to interpreting subs as latin1 if iconv fails 2017-01-22 13:10:16 +01:00
charset_conv.h charset_conv: simplify and change --sub-codepage option 2016-12-09 19:51:29 +01:00
ctype.h
dispatch.c player: don't enter playloop for client API requests 2016-09-16 20:24:52 +02:00
dispatch.h player: use better way to wait for input and dispatching commands 2016-09-16 14:49:23 +02:00
json.c
json.h
node.c misc: add some annoying mpv_node helpers 2016-08-28 19:39:05 +02:00
node.h misc: add some annoying mpv_node helpers 2016-08-28 19:39:05 +02:00
rendezvous.c
rendezvous.h
ring.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
ring.h