mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
mpegaudioparse: require tighter sync match when draining
This commit is contained in:
parent
f3a1dc9796
commit
de54fa0699
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue