mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
mpegaudioparse: require tighter sync match when draining
This commit is contained in:
parent
02a12ee6c8
commit
1e22e29cd3
1 changed files with 4 additions and 0 deletions
|
@ -548,6 +548,10 @@ gst_mpeg_audio_parse_check_valid_frame (GstBaseParse * parse,
|
||||||
return FALSE;
|
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;
|
*framesize = bpf;
|
||||||
|
|
Loading…
Reference in a new issue