mpegaudioparse: require tighter sync match when draining

This commit is contained in:
Mark Nauwelaerts 2011-04-04 20:55:39 +02:00 committed by Tim-Philipp Müller
parent f3a1dc9796
commit de54fa0699

View file

@ -548,6 +548,10 @@ gst_mpeg_audio_parse_check_valid_frame (GstBaseParse * parse,
return FALSE;
}
}
} else if (drain && !sync && caps_change) {
/* avoid caps jitter that we can't be sure of */
*skipsize = off + 2;
return FALSE;
}
*framesize = bpf;