Hello, i want to use the very nice feature of generating dynamic playlists with gpac.

i am using the latest version of gpac under `Ubuntu 20.04.4 LTS x86_64`
`gpac - GPAC command line filter engine - version 2.3-DEV-rev23-g5a733aec-master`

i tried the command:
`gpac -i pl.m3u:floop=-1 -o /var/www/html/stream/hls/live.m3u8:dmode=dynamic:sreg -logs=media@debug`
an nginx rtmp server is serving the stream and everything works fine. it is the same for `hls` and `dash` .

basic playlist content:
```
out-01.mp4
out-02.mp4
out-03.mp4
out-05.mp4
```
i am expecting that the stream is looping over all files until the playlist gets updated. but as you can see after the first play-through it just loops over the first 2 entries.

```shell
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-03.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-05.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
```
on the other hand `flist` with `floop` works just as expected.
`gpac flist:srcs=out-01.mp4,out-02.mp4,out-03.mp4:floop=-1 -o /var/www/html/stream/hls/live.m3u8:dmode=dynamic:sreg -logs=media@debug`

```shell
[FileList] Adding file out-01.mp4 size 137244 mod time 1673731980049095 to list
[FileList] Adding file out-02.mp4 size 135774 mod time 1673731988601251 to list
[FileList] Adding file out-03.mp4 size 137733 mod time 1673731994165352 to list
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-03.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-03.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching
```

thanks for any hints how i can achieve the same output with dynamic playlists.
playlist floop just loops over first 2 entries
This is a GitHub Issue
repo:gpac
owner:gpac
Title : playlist floop just loops over first 2 entries
Issue date:

--- start body ---
Hello, i want to use the very nice feature of generating dynamic playlists with gpac.

i am using the latest version of gpac under `Ubuntu 20.04.4 LTS x86_64`
`gpac - GPAC command line filter engine - version 2.3-DEV-rev23-g5a733aec-master`

i tried the command:
`gpac -i pl.m3u:floop=-1 -o /var/www/html/stream/hls/live.m3u8:dmode=dynamic:sreg -logs=media@debug`
an nginx rtmp server is serving the stream and everything works fine. it is the same for `hls` and `dash` .

basic playlist content:
```
out-01.mp4
out-02.mp4
out-03.mp4
out-05.mp4
```
i am expecting that the stream is looping over all files until the playlist gets updated. but as you can see after the first play-through it just loops over the first 2 entries.

```shell
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-03.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-05.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
```
on the other hand `flist` with `floop` works just as expected.
`gpac flist:srcs=out-01.mp4,out-02.mp4,out-03.mp4:floop=-1 -o /var/www/html/stream/hls/live.m3u8:dmode=dynamic:sreg -logs=media@debug`

```shell
[FileList] Adding file out-01.mp4 size 137244 mod time 1673731980049095 to list
[FileList] Adding file out-02.mp4 size 135774 mod time 1673731988601251 to list
[FileList] Adding file out-03.mp4 size 137733 mod time 1673731994165352 to list
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-03.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-03.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-01.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching.
[FileList] Switching to file out-02.mp4
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:4968
Probing mp3 score:1 size:4968
[isom/avcc] Missing REXT profile signaling, patching
```

thanks for any hints how i can achieve the same output with dynamic playlists.
--- end body ---
