mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Revert "demux_mkv: remove remaining GPL code"
This reverts commit b7f90be567.
The author agreed to the relicensing now (if that code is affected by
the original copyright at all - that was the only line possibly left of
it).
This commit is contained in:
@@ -704,7 +704,10 @@ static void parse_trackentry(struct demuxer *demuxer,
|
||||
}
|
||||
track->uid = entry->track_uid;
|
||||
|
||||
track->name = talloc_strdup(track, entry->name);
|
||||
if (entry->name) {
|
||||
track->name = talloc_strdup(track, entry->name);
|
||||
MP_VERBOSE(demuxer, "| + Name: %s\n", track->name);
|
||||
}
|
||||
|
||||
track->type = entry->track_type;
|
||||
MP_VERBOSE(demuxer, "| + Track type: ");
|
||||
|
||||
Reference in New Issue
Block a user