mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
qtmux: btrt - max bitrate before average
According to iso base media file format, the max bitrate is before the avg https://bugzilla.gnome.org/show_bug.cgi?id=625496
This commit is contained in:
parent
9e5c575b49
commit
da6bfa460d
1 changed files with 2 additions and 2 deletions
|
@ -3137,8 +3137,8 @@ build_btrt_extension (guint32 buffer_size_db, guint32 avg_bitrate,
|
|||
buf = gst_buffer_new_and_alloc (12);
|
||||
|
||||
GST_WRITE_UINT32_BE (GST_BUFFER_DATA (buf), buffer_size_db);
|
||||
GST_WRITE_UINT32_BE (GST_BUFFER_DATA (buf) + 4, avg_bitrate);
|
||||
GST_WRITE_UINT32_BE (GST_BUFFER_DATA (buf) + 8, max_bitrate);
|
||||
GST_WRITE_UINT32_BE (GST_BUFFER_DATA (buf) + 4, max_bitrate);
|
||||
GST_WRITE_UINT32_BE (GST_BUFFER_DATA (buf) + 8, avg_bitrate);
|
||||
|
||||
atom_data =
|
||||
atom_data_new_from_gst_buffer (GST_MAKE_FOURCC ('b', 't', 'r', 't'), buf);
|
||||
|
|
Loading…
Reference in a new issue