mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
rtpmparobustdepay: use valid bitrate for dummy frame
This commit is contained in:
parent
418bca8c0f
commit
075afb6693
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ gst_rtp_mpa_robust_depay_generate_dummy_frame (GstRtpMPARobustDepay *
|
||||||
dummy = g_slice_dup (GstADUFrame, frame);
|
dummy = g_slice_dup (GstADUFrame, frame);
|
||||||
|
|
||||||
/* go for maximum bitrate */
|
/* go for maximum bitrate */
|
||||||
dummy->header = frame->header | (0xf << 12);
|
dummy->header = (frame->header & ~(0xf << 12)) | (0xe << 12);
|
||||||
dummy->size =
|
dummy->size =
|
||||||
mp3_type_frame_length_from_header (GST_ELEMENT_CAST (rtpmpadepay),
|
mp3_type_frame_length_from_header (GST_ELEMENT_CAST (rtpmpadepay),
|
||||||
dummy->header, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
dummy->header, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
Loading…
Reference in a new issue