Copy the track selection when copying the track_info_c. Otherwise the --xtracks options don't have any effect.

This commit is contained in:
Moritz Bunkus 2005-01-05 19:36:37 +00:00
parent a74195e88c
commit 468779b541

View File

@ -1363,6 +1363,10 @@ track_info_c::operator =(const track_info_c &src) {
no_video = src.no_video;
no_subs = src.no_subs;
no_buttons = src.no_buttons;
atracks = src.atracks;
btracks = src.btracks;
stracks = src.stracks;
vtracks = src.vtracks;
private_size = src.private_size;
private_data = (unsigned char *)safememdup(src.private_data, private_size);