mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
mpegaudioparse: relax sync match a bit when draining
... to at least allow initial caps change (but no further caps jitter). Fixes unit test again after previous change.
This commit is contained in:
parent
96fbcb83c3
commit
dbbf54720c
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ gst_mpeg_audio_parse_check_valid_frame (GstBaseParse * parse,
|
|||
return FALSE;
|
||||
}
|
||||
}
|
||||
} else if (draining && lost_sync && caps_change) {
|
||||
} else if (draining && lost_sync && caps_change && mp3parse->rate > 0) {
|
||||
/* avoid caps jitter that we can't be sure of */
|
||||
*skipsize = off + 2;
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue