Commit de54fa06 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts Committed by Tim-Philipp Müller
Browse files

mpegaudioparse: require tighter sync match when draining

parent f3a1dc97
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment