Skip to content
Snippets Groups Projects

libs: audio: Handle meta changes in gst_audio_buffer_truncate

Merged Vivia Nikolaidou requested to merge vivia/gst-plugins-base:fix_truncate_again into master

Set timestamp and duration to GST_CLOCK_TIME_NONE unless trim==0, because that function doesn't know the rate and therefore can't calculate them. Set offset and offset_end to appropriate values. Make it clear in the documentation that the caller is responsible for setting the timestamp and duration.

Fixes #869 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading