adaptivedemux2: Refactor stream methods into the stream
authorJan Schmidt <jan@centricular.com>
Sat, 20 Aug 2022 18:31:53 +0000 (04:31 +1000)
committerJan Schmidt <jan@centricular.com>
Fri, 4 Nov 2022 17:00:31 +0000 (04:00 +1100)
commit2fe641353d2c097a183ab22bb426e46e9020c6e3
tree4007f3d8cfe620aacd2416fb4995ba6f649a3bcb
parent9f89b8e3ef0970897c428049362b8bff60715cc7
adaptivedemux2: Refactor stream methods into the stream

Unlike the legacy elements, GstAdaptiveDemuxStream is a GObject now,
so a bunch of things that were actually stream methods on the
parent demux object can directly become stream methods now.

Move the stream class out to a header of its own.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3314>
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstdashdemux.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-private.h
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.h [new file with mode: 0644]
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-types.h [new file with mode: 0644]
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.h
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c