[Bug 784971] matroskamux: Writes one cluster per audio frame

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Jul 15 07:08:35 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=784971

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
This seems to be intentional, but not very useful IMHO

>    if (mux->cluster_time +
>        mux->max_cluster_duration < buffer_timestamp
>        || is_video_keyframe || mux->force_key_unit_event || is_audio_only) {

Maybe we should make max_cluster_duration configurable (it currently is
G_MAXINT16 * mux->time_scale).


This was introduced with

commit 38265ee1a50b2288dd38a4a9edf8b5e8b01d624c
Author: Nicola Murino <nicola.murino at gmail.com>
Date:   Mon May 30 01:15:31 2016 +0200

    matroskamux: mark all packets of audio-only streams as keyframes

    This helps with streaming audio-only streams via multifdsink,
    tcpserversink and such.

    https://bugzilla.gnome.org/show_bug.cgi?id=754696

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list