mirror of https://github.com/mpv-player/mpv
demux: remove unused flag
This commit is contained in:
parent
dfe630c5d1
commit
2bbed80135
|
@ -160,7 +160,6 @@ struct demuxer_params {
|
|||
struct matroska_segment_uid *matroska_wanted_uids;
|
||||
int matroska_wanted_segment;
|
||||
bool *matroska_was_valid;
|
||||
bool expect_subtitle;
|
||||
// -- demux_open_url() only
|
||||
int stream_flags;
|
||||
bool allow_capture;
|
||||
|
|
|
@ -693,9 +693,7 @@ struct track *mp_add_external_file(struct MPContext *mpctx, char *filename,
|
|||
if (strncmp(disp_filename, "memory://", 9) == 0)
|
||||
disp_filename = "memory://"; // avoid noise
|
||||
|
||||
struct demuxer_params params = {
|
||||
.expect_subtitle = filter == STREAM_SUB,
|
||||
};
|
||||
struct demuxer_params params = {0};
|
||||
|
||||
switch (filter) {
|
||||
case STREAM_SUB:
|
||||
|
|
Loading…
Reference in New Issue