mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
Re-enabled selecting the compression scheme for VobSubs.
This commit is contained in:
parent
4e2705a521
commit
135f440ab9
@ -43,10 +43,10 @@ vobsub_packetizer_c::vobsub_packetizer_c(generic_reader_c *nreader,
|
|||||||
idx_data = (unsigned char *)safememdup(nidx_data, nidx_data_size);
|
idx_data = (unsigned char *)safememdup(nidx_data, nidx_data_size);
|
||||||
idx_data_size = nidx_data_size;
|
idx_data_size = nidx_data_size;
|
||||||
|
|
||||||
if (nti->compression == COMPRESSION_UNSPECIFIED)
|
if (ti->compression == COMPRESSION_UNSPECIFIED)
|
||||||
compression_type = ncompression_type;
|
compression_type = ncompression_type;
|
||||||
else
|
else
|
||||||
compression_type = nti->compression;
|
compression_type = ti->compression;
|
||||||
compressed_type = ncompressed_type;
|
compressed_type = ncompressed_type;
|
||||||
|
|
||||||
raw_size = 0;
|
raw_size = 0;
|
||||||
@ -55,6 +55,9 @@ vobsub_packetizer_c::vobsub_packetizer_c(generic_reader_c *nreader,
|
|||||||
|
|
||||||
set_track_type(track_subtitle);
|
set_track_type(track_subtitle);
|
||||||
|
|
||||||
|
compressor = NULL;
|
||||||
|
decompressor = NULL;
|
||||||
|
|
||||||
compression = "no";
|
compression = "no";
|
||||||
if (compression_type != compressed_type) {
|
if (compression_type != compressed_type) {
|
||||||
compression = NULL;
|
compression = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user