mpegaudioparse: relax sync match a bit when draining
... to at least allow initial caps change (but no further caps jitter).
This commit is contained in:
parent
4cd15193bb
commit
c77e11fd4a
@ -548,7 +548,7 @@ gst_mpeg_audio_parse_check_valid_frame (GstBaseParse * parse,
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
} else if (drain && !sync && caps_change) {
|
||||
} else if (drain && !sync && caps_change && mp3parse->rate > 0) {
|
||||
/* avoid caps jitter that we can't be sure of */
|
||||
*skipsize = off + 2;
|
||||
return FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user