mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Don't check the complete CodecPrivate data for MS compat tracks. Only check if both are present and have the same size (e.g. slight offsets in the FPS or sth else are OK). Let the user shoot himself in the foot if he really wants to ;)
This commit is contained in:
parent
a5f837fb44
commit
6f662a61ba
@ -149,13 +149,6 @@ video_packetizer_c::can_connect_to(generic_packetizer_c *src,
|
||||
vsrc->ti.private_size);
|
||||
return CAN_CONNECT_NO_PARAMETERS;
|
||||
}
|
||||
if ((ti.private_data != NULL) &&
|
||||
memcmp(ti.private_data, vsrc->ti.private_data, ti.private_size)) {
|
||||
error_message = mxsprintf("The codec's private data does not match "
|
||||
"(lengths: %d and %d).", ti.private_size,
|
||||
vsrc->ti.private_size);
|
||||
return CAN_CONNECT_NO_PARAMETERS;
|
||||
}
|
||||
return CAN_CONNECT_YES;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user