mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
mxfdemux: Fix calculation of AES3 bitrate tag
This commit is contained in:
parent
636b535e4a
commit
a9461b9818
1 changed files with 4 additions and 1 deletions
|
@ -781,7 +781,10 @@ mxf_aes3_create_caps (MXFMetadataTimelineTrack * track,
|
|||
*tags = gst_tag_list_new ();
|
||||
|
||||
gst_tag_list_add (*tags, GST_TAG_MERGE_APPEND, GST_TAG_AUDIO_CODEC,
|
||||
codec_name, GST_TAG_BITRATE, block_align * 8, NULL);
|
||||
codec_name, GST_TAG_BITRATE,
|
||||
(gint) (block_align * 8 *
|
||||
mxf_fraction_to_double (&descriptor->audio_sampling_rate)) /
|
||||
(descriptor->channel_count), NULL);
|
||||
g_free (codec_name);
|
||||
|
||||
*handler = mxf_aes3_handle_essence_element;
|
||||
|
|
Loading…
Reference in a new issue