mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
adaptivedemux2: Add gst_adaptive_demux_get_loop()
Add an accessor function for retrieving the demuxer's scheduler thread loop. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
2082c8912d
commit
67bc8d7cc0
2 changed files with 8 additions and 0 deletions
|
@ -3876,3 +3876,9 @@ gst_adaptive_demux_play_rate (GstAdaptiveDemux * demux)
|
|||
GST_ADAPTIVE_DEMUX_SEGMENT_UNLOCK (demux);
|
||||
return rate;
|
||||
}
|
||||
|
||||
GstAdaptiveDemuxLoop *
|
||||
gst_adaptive_demux_get_loop (GstAdaptiveDemux * demux)
|
||||
{
|
||||
return gst_adaptive_demux_loop_ref (demux->priv->scheduler_task);
|
||||
}
|
||||
|
|
|
@ -472,6 +472,8 @@ GstCaps * gst_codec_utils_caps_from_iso_rfc6831 (gchar * codec);
|
|||
|
||||
gdouble gst_adaptive_demux_play_rate (GstAdaptiveDemux *demux);
|
||||
|
||||
GstAdaptiveDemuxLoop *gst_adaptive_demux_get_loop (GstAdaptiveDemux *demux);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue