mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
opusparse: fix frame size determination
https://bugzilla.gnome.org/show_bug.cgi?id=741321
This commit is contained in:
parent
631663b854
commit
79b56ebcc9
1 changed files with 5 additions and 0 deletions
|
@ -199,6 +199,11 @@ gst_opus_parse_handle_frame (GstBaseParse * base,
|
|||
|
||||
/* for ad hoc framing, heed the framing, so we eat any padding */
|
||||
payload_offset = packet_size;
|
||||
} else {
|
||||
/* Add up all the frame sizes found */
|
||||
int f;
|
||||
for (f = 0; f < nframes; ++f)
|
||||
payload_offset += frame_sizes[f];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue