Skip to content

Commit

Permalink
Change BPS to BPF
Browse files Browse the repository at this point in the history
Comments on this change can be found in issue #73
  • Loading branch information
Steve McFarlin authored and MathieuDuponchelle committed Sep 8, 2023
1 parent 7c71669 commit 2f1f7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gstcefdemux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ gst_cef_demux_push_audio_buffer (GstBuffer **buffer, guint idx, AudioPushData *p
GST_BUFFER_PTS (*buffer) = push_data->demux->last_audio_time;

gst_buffer_add_audio_meta (*buffer, &push_data->demux->audio_info,
gst_buffer_get_size (*buffer) / GST_AUDIO_INFO_BPS (&push_data->demux->audio_info),
gst_buffer_get_size (*buffer) / GST_AUDIO_INFO_BPF (&push_data->demux->audio_info),
NULL);

GST_BUFFER_FLAG_UNSET (*buffer, GST_BUFFER_FLAG_DISCONT);
Expand Down

0 comments on commit 2f1f7f1

Please sign in to comment.