mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
Commented needs_pad_switch
This commit is contained in:
parent
54fcbf89f1
commit
b9d6796cb5
1 changed files with 13 additions and 0 deletions
|
@ -822,6 +822,19 @@ switch_pads (GstDashDemux * demux, guint nb_adaptation_set)
|
|||
}
|
||||
}
|
||||
|
||||
/* needs_pad_switch:
|
||||
*
|
||||
* Figure out if the newly selected representation requires a new set
|
||||
* of demuxers and decoders or if we can carry on with the existing ones.
|
||||
*
|
||||
* Basically, we look at the list of fragments we need to push downstream,
|
||||
* and compare their caps with those of the corresponding src pads.
|
||||
*
|
||||
* As soon as one fragment requires a new set of caps, we need to switch
|
||||
* all decoding pads to recreate a whole decoding group as we cannot
|
||||
* move pads between groups (FIXME: or can we ?).
|
||||
*
|
||||
*/
|
||||
static gboolean
|
||||
needs_pad_switch (GstDashDemux * demux, GList * fragment)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue