summaryrefslogtreecommitdiffstats
path: root/demux/demux_timeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_timeline.c')
-rw-r--r--demux/demux_timeline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/demux/demux_timeline.c b/demux/demux_timeline.c
index 3759c9ffc1..359f97f2bc 100644
--- a/demux/demux_timeline.c
+++ b/demux/demux_timeline.c
@@ -436,13 +436,13 @@ static int d_control(struct demuxer *demuxer, int cmd, void *arg)
switch (cmd) {
case DEMUXER_CTRL_GET_TIME_LENGTH: {
*(double *)arg = p->duration;
- return DEMUXER_CTRL_OK;
+ return CONTROL_OK;
}
case DEMUXER_CTRL_SWITCHED_TRACKS:
reselect_streams(demuxer);
- return DEMUXER_CTRL_OK;
+ return CONTROL_OK;
}
- return DEMUXER_CTRL_NOTIMPL;
+ return CONTROL_UNKNOWN;
}
const demuxer_desc_t demuxer_desc_timeline = {