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
@ -3876,3 +3876,9 @@ gst_adaptive_demux_play_rate (GstAdaptiveDemux * demux)
|
|||||||
GST_ADAPTIVE_DEMUX_SEGMENT_UNLOCK (demux);
|
GST_ADAPTIVE_DEMUX_SEGMENT_UNLOCK (demux);
|
||||||
return rate;
|
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);
|
gdouble gst_adaptive_demux_play_rate (GstAdaptiveDemux *demux);
|
||||||
|
|
||||||
|
GstAdaptiveDemuxLoop *gst_adaptive_demux_get_loop (GstAdaptiveDemux *demux);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user