gstreamer/subprojects/gst-plugins-good/gst/multifile
Jonas K Danielsson b0becfa46b splitmuxsrc: Use natural ordering to find files
Today when using the `splitmuxsrc` on a collection of files named as:

```
item0.mkv
item1.mkv
item2.mkv
[...]
item10.mkv
item11.mkv
[...]
```

You will get a continuous stream made in the order of:

```
item0.mkv -> item1.mkv -> item10.mkv -> item11.mkv -> [...]
```

You can fix this by having smarter names of the items:

```
item000.mkv
item001.mkv
item002.mkv
[...]
item010.mkv
item011.mkv
[...]
```

Will get you:
```
item000.mkv -> item001.mkv -> item003.mkv -> item004.mkv -> [...]
```

But, we could also "fix" the former case by using natural ordering when
comparing the files in gstsplitutils.c.

Fixes #2523

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4491>
2024-01-24 20:15:19 +00:00
..
gstimagesequencesrc.c
gstimagesequencesrc.h
gstmultifile.c
gstmultifilesink.c
gstmultifilesink.h
gstmultifilesrc.c
gstmultifilesrc.h
gstsplitfilesrc.c
gstsplitfilesrc.h
gstsplitmuxpartreader.c
gstsplitmuxpartreader.h
gstsplitmuxsink.c
gstsplitmuxsink.h
gstsplitmuxsrc.c
gstsplitmuxsrc.h
gstsplitutils.c splitmuxsrc: Use natural ordering to find files 2024-01-24 20:15:19 +00:00
gstsplitutils.h
meson.build
patternspec.c
patternspec.h
test-splitmuxpartreader.c