mpv/demux
Dudemanguy d124449c3d demux_playlist: simplify ini parsing
In acac614032, I sort of cargoculted what
I had to do for m3u, but it's actually not needed. bstr_split_tok
unexpectedly doesn't modify the original string. So the line_dup
business in the ini parsing is not needed. Remove it. The part in
parse_ref_init isn't wrong but naming the variable "line_dup" instead of
"value" is stupid so adjust that. And finally, you can actually force a
codepage in mpv (add "+" before the codepage) which will cause every
line to be allocated memory including the header lines even though those
are obviously valid utf8 that should never need conversion. This wasn't
taken into account so add an extra pl_free_line in a couple of places to
make sure they are freed.
2023-11-14 14:59:48 +00:00
..
cache.c demux: prepend some cache options with demuxer 2023-09-18 17:13:15 +00:00
cache.h
codec_tags.c various: remove trailing whitespace 2023-10-30 16:45:47 +00:00
codec_tags.h demux_mkv: check if the video codec is an image 2023-10-23 19:32:53 +00:00
cue.c
cue.h
demux.c demux: always update the cache on init 2023-11-12 11:47:16 +01:00
demux.h Revert "demux: improve stream selection state" 2023-09-30 09:02:57 -05:00
demux_cue.c demux_cue: deprecate --demuxer-cue-codepage for --metadata-codepage 2023-10-07 02:41:27 +00:00
demux_disc.c Revert "demux: improve stream selection state" 2023-09-30 09:02:57 -05:00
demux_edl.c edl: add a way to add tags 2021-05-11 22:18:40 +02:00
demux_lavf.c demux/lavf: don't use deprecated side data 2023-11-09 21:30:50 +00:00
demux_libarchive.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
demux_mf.c demux: put type2format into codec_tags with helper functions 2023-10-23 19:32:53 +00:00
demux_mkv.c ALL: use pl_hdr_metadata and nuke sig_peak 2023-11-05 18:57:36 +01:00
demux_mkv_timeline.c demux_mkv: warn against some other aspects of mismatching codec data 2020-08-16 01:00:29 +02:00
demux_null.c
demux_playlist.c demux_playlist: simplify ini parsing 2023-11-14 14:59:48 +00:00
demux_raw.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
demux_timeline.c Revert "demux: improve stream selection state" 2023-09-30 09:02:57 -05:00
ebml.c build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
ebml.h build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
matroska.h
packet.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
packet.h
stheader.h demux: add crop to mp_codec_params 2023-09-17 16:48:42 +00:00
timeline.c
timeline.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00