summaryrefslogtreecommitdiffstats
path: root/filters/f_demux_in.h
blob: eebd428fee198fa442ef7beda3bfc1f32c9b7b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "filter.h"

struct sh_stream;

// Create a filter with a single output for the given stream. The stream must
// be selected, and remain so until the filter is destroyed. The filter will
// set/unset the stream's wakeup callback.
struct mp_filter *mp_demux_in_create(struct mp_filter *parent,
                                     struct sh_stream *src);