Skip to content

Commit

Permalink
Merge pull request #60 from membraneframework/relax_pts_warns
Browse files Browse the repository at this point in the history
Relax pts integrity warning
  • Loading branch information
bartkrak authored Jul 25, 2024
2 parents bd42666 + 858a487 commit 550f582
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 29 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ workflows:
build:
jobs:
- elixir/build_test:
cache-version: 3
filters: &filters
tags:
only: /v.*/
- elixir/test:
cache-version: 3
filters:
<<: *filters
- elixir/lint:
cache-version: 3
filters:
<<: *filters
- elixir/hex_publish:
cache-version: 3
requires:
- elixir/build_test
- elixir/test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The package can be installed by adding `membrane_aac_fdk_plugin` to your list of
```elixir
def deps do
[
{:membrane_aac_fdk_plugin, "~> 0.18.8"}
{:membrane_aac_fdk_plugin, "~> 0.18.9"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion lib/membrane_aac_fdk_plugin/encoder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ defmodule Membrane.AAC.FDK.Encoder do
with [%Buffer{pts: first_pts}, %Buffer{pts: second_pts} | _tail]
when first_pts != nil and second_pts != nil <- packets do
duration = second_pts - first_pts
epsilon = duration / 10
epsilon = duration / 2

if input_pts < first_pts - epsilon do
Membrane.Logger.warning("PTS values are overlapping")
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Membrane.AAC.FDK.Plugin.MixProject do
use Mix.Project

@version "0.18.8"
@version "0.18.9"
@github_url "https://github.com/membraneframework/membrane_aac_fdk_plugin"

def project do
Expand Down
Loading

0 comments on commit 550f582

Please sign in to comment.