From 8c0b1bb520faf9e7f5397b0f7ae5d0703ff9d67c Mon Sep 17 00:00:00 2001 From: Daniel Morandini Date: Thu, 7 Mar 2024 12:30:13 +0100 Subject: [PATCH] Remove ts contents --- .tool-versions | 4 ++-- test/fixtures/mpeg-ts/stream.m3u8 | 8 +++++--- .../mpeg-ts/stream_416x234/00000/stream_416x234_00001.ts | 4 +--- .../mpeg-ts/stream_416x234/00000/stream_416x234_00002.ts | 4 +--- .../mpeg-ts/stream_416x234/00000/stream_416x234_00003.ts | 4 +--- .../mpeg-ts/stream_416x234/00000/stream_416x234_00004.ts | 4 +--- .../mpeg-ts/stream_416x234/00000/stream_416x234_00005.ts | 4 +--- test/fixtures/mpeg-ts/stream_640x360.m3u8 | 3 --- .../mpeg-ts/stream_640x360/00000/stream_640x360_00001.ts | 3 --- .../mpeg-ts/stream_640x360/00000/stream_640x360_00002.ts | 3 --- .../mpeg-ts/stream_640x360/00000/stream_640x360_00003.ts | 3 --- .../mpeg-ts/stream_640x360/00000/stream_640x360_00004.ts | 3 --- .../mpeg-ts/stream_640x360/00000/stream_640x360_00005.ts | 3 --- test/membrane/hls/source_test.exs | 2 +- 14 files changed, 13 insertions(+), 39 deletions(-) delete mode 100644 test/fixtures/mpeg-ts/stream_640x360.m3u8 delete mode 100644 test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00001.ts delete mode 100644 test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00002.ts delete mode 100644 test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00003.ts delete mode 100644 test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00004.ts delete mode 100644 test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00005.ts diff --git a/.tool-versions b/.tool-versions index fee7f1f..131131f 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.14.2-otp-25 -erlang 25.2 +erlang 26.1.2 +elixir 1.16.1-otp-26 diff --git a/test/fixtures/mpeg-ts/stream.m3u8 b/test/fixtures/mpeg-ts/stream.m3u8 index 71eb452..4164414 100644 --- a/test/fixtures/mpeg-ts/stream.m3u8 +++ b/test/fixtures/mpeg-ts/stream.m3u8 @@ -1,3 +1,5 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31fbfcd0960e77c53e9b7d406dff805498ba5076454c7f729e59261696b05cbe -size 350 +#EXTM3U +#EXT-X-VERSION:3 +#EXT-X-INDEPENDENT-SEGMENTS +#EXT-X-STREAM-INF:BANDWIDTH=334400,AVERAGE-BANDWIDTH=325600,CODECS="avc1.42c01e,mp4a.40.2",RESOLUTION=416x234,FRAME-RATE=15.000 +stream_416x234.m3u8 diff --git a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00001.ts b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00001.ts index 64cc684..f1be44e 100644 --- a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00001.ts +++ b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00001.ts @@ -1,3 +1 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6320e215d9ea1efd923e193a3ea67f6af740c157e8aca016d2c87d8525b64a62 -size 256056 +stream_416x234_00001.ts diff --git a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00002.ts b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00002.ts index 6e3242e..beae501 100644 --- a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00002.ts +++ b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00002.ts @@ -1,3 +1 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4087e44ce9053edebb8604a38baae229f14e0f6c6bdeb2111ff7da2c5b322ebc -size 241204 +stream_416x234_00002.ts diff --git a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00003.ts b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00003.ts index 8905253..5a16eb9 100644 --- a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00003.ts +++ b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00003.ts @@ -1,3 +1 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b026ed9829b96085d57637cf3cc93af79e4e44c02563274cfbe83c854392b4b0 -size 248536 +stream_416x234_00003.ts diff --git a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00004.ts b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00004.ts index 3bc0121..1e44b48 100644 --- a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00004.ts +++ b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00004.ts @@ -1,3 +1 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f09794a0c41d742391502b6e41d98f02b500012fbcde81574ff8ac82abb807e -size 243272 +stream_416x234_00004.ts diff --git a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00005.ts b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00005.ts index 4d6e257..f00f265 100644 --- a/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00005.ts +++ b/test/fixtures/mpeg-ts/stream_416x234/00000/stream_416x234_00005.ts @@ -1,3 +1 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c11ce9981b89f9cd04204ff55f0b485a1a884f20c58f11f40b41d0a4ec04de6 -size 243460 +stream_416x234_00005.ts diff --git a/test/fixtures/mpeg-ts/stream_640x360.m3u8 b/test/fixtures/mpeg-ts/stream_640x360.m3u8 deleted file mode 100644 index 419f244..0000000 --- a/test/fixtures/mpeg-ts/stream_640x360.m3u8 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6069fb1ff265d56193e6b9ff3c59e7952e4a77b5d6ae7033b24538312902300e -size 423 diff --git a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00001.ts b/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00001.ts deleted file mode 100644 index b1453d9..0000000 --- a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00001.ts +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c61aa262f2273da529fb0551f683cfc94ed59d8068c8219a459042c0c9f3085c -size 721920 diff --git a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00002.ts b/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00002.ts deleted file mode 100644 index c7842dd..0000000 --- a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00002.ts +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d483f9cac054d792b028cb00da69b37a971a681689acda6a4f92cac5ff1ed6c -size 698984 diff --git a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00003.ts b/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00003.ts deleted file mode 100644 index 9077003..0000000 --- a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00003.ts +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a81ae3e9edee789b0eaca21bb6abcdd1e2df6dcd34d76a039126270f936c947 -size 717972 diff --git a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00004.ts b/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00004.ts deleted file mode 100644 index fe2827f..0000000 --- a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00004.ts +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9124c1e9251469799af88775b5199168a580338ff8cf0a3e544a58215afb9e0c -size 709700 diff --git a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00005.ts b/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00005.ts deleted file mode 100644 index b996cc7..0000000 --- a/test/fixtures/mpeg-ts/stream_640x360/00000/stream_640x360_00005.ts +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da48150564b9c78f1c50823d5fa5c825bba9ee794d75a9f681a94b8bbb91e673 -size 693908 diff --git a/test/membrane/hls/source_test.exs b/test/membrane/hls/source_test.exs index 0791063..17dc71c 100644 --- a/test/membrane/hls/source_test.exs +++ b/test/membrane/hls/source_test.exs @@ -94,7 +94,7 @@ defmodule Membrane.HLS.SourceTest do |> File.ls!() |> Enum.map(&Path.join([base_dir, &1])) |> Enum.map(&File.read!/1) - |> Enum.each(&assert_sink_buffer(pipeline, :sink, %Membrane.Buffer{payload: &1}, 5_000)) + |> Enum.each(&assert_sink_buffer(pipeline, :sink, %Membrane.Buffer{payload: ^&1}, 5_000)) assert_end_of_stream(pipeline, :sink) Membrane.Testing.Pipeline.terminate(pipeline)