opusparse: fix frame size determination
https://bugzilla.gnome.org/show_bug.cgi?id=741321
This commit is contained in:
parent
631663b854
commit
79b56ebcc9
@ -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…
x
Reference in New Issue
Block a user